add: compiler
This commit is contained in:
@@ -2,6 +2,13 @@
|
||||
//!
|
||||
//! Loads the BNF grammar embedded at compile time, builds a [`bnf::GrammarParser`],
|
||||
//! and exposes helpers used by both the compiler binary and the demo binary.
|
||||
//!
|
||||
//! Also provides the typed AST ([`ast`]), BNF-to-AST lowering pass ([`lower`]),
|
||||
//! and LLVM code-generator ([`codegen`]) used by the compiler pipeline.
|
||||
|
||||
pub mod ast;
|
||||
pub mod lower;
|
||||
pub mod codegen;
|
||||
|
||||
use bnf::{Grammar, Term};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user