Skip to main content

lux/
lib.rs

1//! lux — a small teaching language.
2//!
3//! The pipeline is the classic three stages: `lexer` turns source text into
4//! tokens, `parser` turns tokens into an `ast`, and `interpreter` walks the
5//! ast and runs it. `diagnostic` carries source positions so an error can
6//! point at the exact place it went wrong.
7
8pub mod ast;
9pub mod convert;
10pub mod diagnostic;
11pub mod interpreter;
12pub mod learn;
13pub mod lexer;
14pub mod magic;
15pub mod parser;