rukalang/
lib.rs

1//! Core RukaLang compiler crate.
2//!
3//! This crate exposes parser, lowering, checking, MIR, and codegen
4//! modules used by the CLI and the browser/WASM wrapper.
5
6/// Semantic checking APIs and checked-program annotations.
7pub mod check;
8/// Command-line parsing helpers for the compiler binary.
9pub mod cli;
10/// Backend code generation re-exports for Rust and WASM.
11pub mod codegen;
12/// Pipeline driver hooks and browser artifact helpers.
13pub mod driver;
14/// Type elaboration and concretization passes.
15pub mod elab;
16/// HIR model re-exports and lowering wrappers.
17pub mod hir;
18/// Meta-program expansion over frontend AST programs.
19pub mod meta;
20mod meta_builtins;
21mod meta_types;
22/// MIR model re-exports and lowering wrappers.
23pub mod mir;
24/// Import and module resolution helpers.
25pub mod modules;
26/// Shared pass context, timing, and provenance tables.
27pub mod pass;
28/// Pre-expansion semantic analysis helpers.
29pub mod semantic;
30mod source_index;
31/// Syntax parsing and lexer re-exports.
32pub mod syntax;
33
34#[cfg(test)]
35mod codegen_smoke;