MCBasic is a statically typed scripting language with a mixture of C syntax and Python features. It compiles to a datapack for Minecraft 1.21 and above.
This project is still WIP and is not fit for actual use.
Due to the latest changes in the Minecraft datapack format and the new data-driven features, I decided to rewrite the compiler from scratch. In order to allow the community to contribute to the project, I decided to change the language to Kotlin, which is based on Java, so Minecraft modders can easily understand the code.
Feel free to contribute to this project by opening an issue or a pull request. Optimization suggestions are also welcome, as I'm still learning about compilers.
To avoid duplicated work, please submit an issue before star
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.