Expand description
rl_lang - the core library crate.
Re-exports all subsystems so both the CLI binary (main.rs) and external
consumers (LSP, tests, benchmarks) can reach them through one crate.
Feature flags gate optional subsystems:
| Feature | Enables |
|---|---|
eval | checker, interpreter |
repl_tui | repl |
lsp | [lsp] |
debug | verbose log:: output throughout the pipeline |
Modulesยง
- ast
- Abstract Syntax Tree (AST) node definitions.
- checker
- Static type checker for rl - runs after parsing, before evaluation.
- docs
- In-process documentation system for the
rl docsCLI command. - interpreter
- The rl tree-walking interpreter.
- lexer
- The lexer - converts raw source text into a flat
Vec<Token>. - logic_
loops - Pipeline driver functions.
- parser
- The parser - transforms a flat
Vec<Token>produced by the lexer into aVec<Statement>that represents the abstract syntax tree (AST). - repl
- TUI REPL for rl, built on [
ratatui] and [crossterm]. - resolver
- Variable resolution pass - runs between parsing and evaluation.
- tooling
- Tooling support for rl projects.
- utils
- Shared utilities used across the rl pipeline.