在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):SuperTails/langcraft开源软件地址(OpenSource Url):https://github.com/SuperTails/langcraft开源编程语言(OpenSource Language):Rust 83.5%开源软件介绍(OpenSource Introduction):LangcraftThe LLVM target for Minecraft you've never wantedLangcraft is a code generator targeting Minecraft Data Packs. It can currently run a fairly substantial set of bitcode files without issue. The project has a built-in command interpreter for debugging that supports breakpoints (ish) and inspecting register/memory values. All generated datapacks can be run in a real Minecraft Java Edition 1.16+ world in under 5 minutes. (See also Wasmcraft2 for the spiritual successor to this project, which is faster and more reliable) Usage
Valid arguments are:
To use the generated datapack in Minecraft:
Rust code must be built as follows:
And the file to use will be:
Any other language capable of generating LLVM bitcode can be used, as long as it can be built for a bare-metal 32-bit target. For a clang example see Note that the latest nightly versions of rustc now use LLVM 11, which Langcraft cannot parse (yet). You can set an earlier version to use for a directory with:
DemoA video of a Langcraft-compiled interpreter can be seen here. LicenseLicensed under either of
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论