reid-llvm/examples/easiest.rs

12 lines
227 B
Rust
Raw Normal View History

2023-08-02 18:17:57 +02:00
use reid::compile;
pub static EASIEST: &str = include_str!("./reid/easiest.reid");
fn main() {
let text = match compile(EASIEST) {
Ok(t) => t,
Err(e) => panic!("{}", e),
};
println!("{}", text);
}