Updates
update/April 6, 2026

VortexScript Custom Compiler for Minecraft Redstone

VortexScript is a Java-inspired language that compiles .vsc source files into BatPU-2 assembly and Minecraft redstone schematics real computation running inside a block world.

Systems

VortexScript

VortexScript is a custom language that compiles all the way to Minecraft. Write .vsc source files, run the compiler, get back .mcschematic files you can drop directly into a redstone VM.

The target architecture is BatPU-2 a 16-register, 8-bit ISA with 256 bytes RAM and 2048 bytes instruction memory, executable as a Minecraft redstone circuit.

The pipeline

text1 lines
mainVSC.py → lexer → parser → codegen → assembler → schematic

Each stage is a separate module. A single build command outputs .as assembly, .bin bytecode, and .schem for in-game placement.

What the language supports

  • Byte-level variables mapped directly to registers (r1–r15)
  • Arithmetic: +, –, *, /, % via helper routines (MUL, DIV, MOD)
  • Control flow: if, while, comparison operators
  • Assembly labels and jumps
  • main() entry point

Functions are planned pending call-stack simulation work.

Status

Lexer and assembler are stable. Parser handles expressions, assignments, and control flow. Codegen supports arithmetic and branching. Schematic builder is early prototype. The compiler is complete enough to run real programs on the VM.

Source on GitHub project lead: DeltaVortex.