celestial_hub_compass/codegen/
mod.rs

1use crate::ast::Statement;
2
3use self::context::Context;
4pub(crate) mod context;
5#[allow(warnings)] // TODO: remove me later
6pub mod mips;
7
8pub trait Codegen {
9  fn generate(&self, ast: Vec<Statement>, context: &mut Context) -> Result<String, String>;
10}