Use verified Gitea dependencies for Syntax

This commit is contained in:
waozi committed 2026-11-20 04:21:49 -03:00
1 parent 368daee308
commit 001ad32b0b
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
# Syntax
Syntax is a small [Ziran](https://github.com/ziranlang/ziran) package that
Syntax is a small [Ziran](https://git.waozi.xyz/ziranlang/ziran) package that
tokenizes Ziran, C, and Make source. It reports each token's byte range and
kind (keyword, string, number, path, comment, whitespace, or plain text) and
can color the tokens for a light or dark background. It allocates nothing:
@@ -9,7 +9,7 @@ callers pass the text and own the output spans.
## Use it
```sh
ziran add https://github.com/ziranlang/syntax.git
ziran add https://git.waozi.xyz/ziranlang/syntax.git
```
```zi
+2 -2
View File
@@ -9,7 +9,7 @@
},
"toolchain": {
"commit": "7bc57800eb5fc0d922628bdbce2f619427fb4219",
"ref": "master",
"url": "https://github.com/ziranlang/ziran.git"
"ref": "7bc57800eb5fc0d922628bdbce2f619427fb4219",
"url": "https://git.waozi.xyz/ziranlang/ziran.git"
}
}
+2 -2
View File
@@ -3,8 +3,8 @@ name = "Syntax"
module_roots = ["src", "tests"]
[toolchain]
git = "https://github.com/ziranlang/ziran.git"
ref = "master"
git = "https://git.waozi.xyz/ziranlang/ziran.git"
ref = "7bc57800eb5fc0d922628bdbce2f619427fb4219"
[exports]
Syntax = "src/syntax.zi"