Project
Architecture
How source moves from text to interpreter or native execution.
01
Language pipeline
- sun-lexer produces spanned tokens.
- sun-parser builds the AST.
- sun-runtime evaluates the AST against a RuntimeHost.
- sun-codegen-llvm lowers a supported subset.
- The native executable links a small C runtime ABI.
02
Runtime hosts
Hosts own output, pauses, file effects, and optional figure support. This keeps language evaluation in Rust while allowing the CLI, tests, and Studio to provide different controlled environments.
03
Developing areas
Semantic analysis, a stable intermediate representation, richer native coverage, and broader graphics remain active milestones.