diff --git a/README.md b/README.md index 376bf1a..f2c88ae 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Lua -Lua is a [Ziran](https://github.com/ziranlang/ziran) package that runs Lua +Lua is a [Ziran](https://git.waozi.xyz/ziranlang/ziran) package that runs Lua 5.1 code in the LuaJIT dialect. Everything is written in Ziran, with no C code and no native libraries: the lexer and parser, a compiler to register bytecode, the interpreter, a mark-and-sweep collector with weak tables and `__gc`, and the standard libraries. It was written so that -[Katalis](https://github.com/waozixyz/katalis) can run Luanti mods from +[Katalis](https://git.waozi.xyz/waozi/katalis) can run Luanti mods from ContentDB. The embedding API follows the Lua C API: a stack, natives as plain Ziran @@ -17,7 +17,7 @@ the host grants it. ## Use it ```sh -ziran add https://github.com/ziranlang/lua.git +ziran add https://git.waozi.xyz/ziranlang/lua.git ``` ```zi diff --git a/ziran.lock b/ziran.lock index d4759bd..598a6f2 100644 --- a/ziran.lock +++ b/ziran.lock @@ -9,7 +9,7 @@ }, "toolchain": { "commit": "88b505bf5f2342d46ed857c2d9160d5da9bec3a2", - "ref": "master", - "url": "https://github.com/ziranlang/ziran.git" + "ref": "88b505bf5f2342d46ed857c2d9160d5da9bec3a2", + "url": "https://git.waozi.xyz/ziranlang/ziran.git" } } diff --git a/ziran.toml b/ziran.toml index 55fe234..fd8d91a 100644 --- a/ziran.toml +++ b/ziran.toml @@ -3,8 +3,8 @@ name = "lua" module_roots = ["src", "tests"] [toolchain] -git = "https://github.com/ziranlang/ziran.git" -ref = "master" +git = "https://git.waozi.xyz/ziranlang/ziran.git" +ref = "88b505bf5f2342d46ed857c2d9160d5da9bec3a2" [exports] vm = "src/vm.zi"