Expand description
Code generation module for compiling ELO expressions to Rust
This module provides the core code generation engine that transforms ELO AST
into idiomatic Rust code via the quote! macro.
Re-exports§
pub use errors::CodeGenError;pub use operators::BinaryOp;pub use operators::OperatorGenerator;pub use operators::UnaryOp;pub use types::TypeContext;
Modules§
- ast_
to_ code - AST-to-Rust code generation visitor
- errors
- Code generation errors
- expressions
- Expression code generation
- functions
- Standard library function call code generation
- operators
- Binary and unary operator code generation
- optimization
- Optimization passes for ELO code generation
- temporal
- Temporal value code generation for dates, times, and durations
- type_
inference - Type inference system for ELO expressions
- types
- Type system mapping between ELO and Rust types
Structs§
- Rust
Code Generator - Main code generator for transforming ELO AST to Rust code