Internals

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

LogEx is a five-crate Cargo workspace: a pure hexagon (logex-core), three adapters for the terminal, the language server, and the composition root, and a leaf, logex-i18n, that holds every user-facing word. Inside the hexagon the pipeline is hand-written and runs in four stages: lexer → parser (AST) → semantic analysis → output. Round-trip fidelity is the lexer's guarantee, not a syntax tree's, which is what lets every later stage discard what it does not need.

Quadrants

  • Tutorials — (no pages yet)
  • How-to — (no pages yet)
  • Reference — AST catalogue, crate and module map, error codes.
  • Explanation — pipeline overview, lexer and trivia, scope analysis, variable binding, faults and diagnostics, commands and outcomes, implementation invariants, LSP architecture.
  • Tutorials

    No pages yet.

  • How-to

    No pages yet.

  • Reference

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

  • Explanation

    Why the LogEx implementation looks the way it does.