Here you can compile a schematics definition written in Schemacode, a schema definition language, into a text representation to be pasted into Mindustry using the Import schematics... button. If your schematics contain processors, you can specify code for the processor using either Mindustry Logic or Mindcode. You can also decompile an existing schematics using the Decompiler and modify the resulting code.

Here are some examples to give you an idea how to use Schemacode:

25 lines of code

Bug reports, suggestions and questions are welcome at the project page.

  • Compiling embedded code
  • 10 instructions before optimizations.
  • 2 instructions eliminated by Temp Variables Elimination (6 iterations).
  • 1 instructions eliminated by Single Step Elimination (6 iterations).
  • 1 instructions modified by Data Flow Optimization (4 iterations).
  • 1 instructions modified by Loop Optimization (3 iterations).
  • 1 loops improved by Loop Optimization.
  • 1 instructions updated by Jump Threading.
  • 7 instructions after optimizations.
  • Performance: parsed in 66 ms, compiled in 109 ms, optimized in 86 ms.
  • Created schematic 'On/off switch' with dimensions ( 2, 1).