Internals

This tree documents the LogEx implementation — useful if you are studying compiler architecture or contributing to the parser.

The pipeline is hand-written and runs in five stages: lexer → parser (CST) → pretty-print + CST→AST → semantic analysis → output. Every stage commits to losslessness, which is what makes the formatter and the round-trip property work.

Quadrants

  • Tutorials(no pages yet)
  • How-to(no pages yet)
  • Reference — AST catalogue and src/ module map.
  • Explanation — pipeline overview, lexer + trivia, green-red tree, scope analysis, variable binding, error recovery, parser/interpreter boundary.
  • Tutorials

    No pages yet.

  • How-to

    No pages yet.

  • Reference

    AST catalogue, src/ module map, and the error-codes reference.

  • Explanation

    Why the LogEx implementation looks the way it does.