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.

Period
2026 — present
Status
In active development
Role
Language, compiler, and toolchain design

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.