Minecraft Compiler Collection
github.com
Spec sheet
- Purpose
- Minecraft Compiler Collection compiles high-level code into Minecraft commands.Read 8 Oct 2026 · github.com
- License
- The repository identifies its license as MIT.Read 8 Oct 2026 · github.com
- Maker
- The GitHub profile identifies the maker as Simon816 and lists the United Kingdom as location.Read 8 Oct 2026 · github.com
- Assembler
- The assembler uses a simple assembly language with instructions similar to x86.Read 4 Oct 2026 · github.com
- C compiler
- The partially implemented C compiler supports most language features and includes a preprocessor.Read 8 Oct 2026 · github.com
- C limits
- The C compiler has one built-in type, int, stored as a 32-bit signed integer in a scoreboard objective.Read 4 Oct 2026 · github.com
- CBL
- Command Block Language is a C++-inspired language designed for Minecraft commands.Read 8 Oct 2026 · github.com
- Datapack output
- The packer creates a Minecraft datapack from compiled code and a datapack definition file.Read 4 Oct 2026 · github.com
- Datapacks
- The packer uses a datapack definition file to generate a Minecraft datapack.Read 8 Oct 2026 · github.com
- Demo
- The maker's demo page provides controls to load an example, build, reset, and create a new file.Read 8 Oct 2026 · simon816.com
- Dependencies
- Running MCC requires Python and the Lark package, unless standalone parsers have been generated.Read 4 Oct 2026 · github.com
- Dependency
- Running MCC requires the Lark Python package unless standalone parsers have been generated first.Read 8 Oct 2026 · github.com
- Executable
- MCC is not bundled as an executable and must be invoked with a Python interpreter.Read 4 Oct 2026 · github.com
- Input formats
- MCC accepts .cbl, .c, .asm, .ir, .o, and .dpd files.Read 8 Oct 2026 · github.com
- Linking
- Command IR supports linking code written in CBL, C, assembly, and IR into one program.Read 8 Oct 2026 · github.com
- Mixed-language linking
- Command IR supports linking CBL, C, assembly, and IR code into one program.Read 4 Oct 2026 · github.com
- Optimization
- The Command IR abstraction enables optimizations, and the command line exposes optimization levels 0 and 1.Read 8 Oct 2026 · github.com
- Pipeline
- The documented pipeline has compiling, linking, and packing stages.Read 4 Oct 2026 · github.com
- Runtime
- MCC is implemented in Python and is invoked with a Python interpreter; it is not bundled as an executable.Read 8 Oct 2026 · github.com
- Toolchain
- MCC includes CBL, C, assembly, Command IR, and a datapack packer.Read 8 Oct 2026 · github.com
- Windows setup
- The README instructs Windows users to run the Python commands in the parser build script from the project root.Read 4 Oct 2026 · github.com
Where Specifiction places it
- Minecraft Datapack Generators#11 of 227.4