pub use cond::Cond; pub use flatten::Flatten; pub use flatten::lower; pub use op::OpWrapper; pub use op::Op; use crate::asm::data::literal::RoutineName; pub mod op; pub mod cond; mod flatten; /// A higher-level instruction #[derive(Debug, Clone)] pub struct Instr { pub op: OpWrapper, pub branches: Option)>>, } /// A routine pub struct Routine { pub name: RoutineName, pub body: Vec, }