02 / Compilers and developer tools
RedScript — a compiler and developer toolchain for Minecraft datapacks
Compiles a TypeScript-like language to vanilla Minecraft datapacks and provides editor, validation, and testing tools around it.
Goal
Let content developers write Minecraft datapacks with a structured language and modern editor tooling, then generate and validate mcfunction files through a compiler.
Pipeline
- Lexer / Parser / AST → TypeCheck → HIR → MIR → Optimizer → LIR → datapack emit.
- CLI, formatter, linter, standard library, and testing tools.
- Language server, VS Code extension, online playground, and documentation site.
- A Minecraft-aware validator that checks target-platform constraints before generation.