Skip to content

Development

These pages describe how Regulus is built and how to work on it.

Compiler phases

Regulus keeps compiler phases explicit:

text
Gleam source
  -> tree-sitter syntax tree
  -> AST
  -> name resolution
  -> type checking
  -> core IR
  -> WebAssembly

Useful references