reid-llvm/reid/examples/arithmetic.rs
2025-06-24 17:17:15 +03:00

12 lines
236 B
Rust

use reid::compile;
pub static ARITHMETIC: &str = include_str!("./reid/arithmetic.reid");
fn main() {
let text = match compile(ARITHMETIC) {
Ok(t) => t,
Err(e) => panic!("{}", e),
};
println!("{}", text);
}