oxur-comp
Oxur compiler library and binary.
Compiler Binary (oxurc)
# Compile an Oxur file
# Keep generated Rust source
# Verbose output
Library
The oxur-comp library provides:
- Lowering: Core Forms → Rust AST (Stage 3)
- Code Generation: Rust AST → Rust source (Stage 4)
- Compilation: Rust source → Binary via rustc (Stage 5)
Architecture
The compiler takes Core Forms (from oxur-lang) and:
- Lowers them to Rust AST using the
syncrate - Generates formatted Rust source using
prettyplease - Invokes
rustcto produce the final binary