Skip to content

← All updates

session

The seed compiler

The very first cut of the compiler:

  • Hand-written lexer and recursive descent parser. No generators, on principle.
  • Basic type checker covering integers, floats, strings, bools, structs, and functions.
  • An ARM64 (AArch64) code generator.
  • Structs, enums, functions, if/else expressions, arithmetic, comparisons, logical operators, and a print() builtin.

Everything since has been built on this foundation: same philosophy, every layer custom.