reid-llvm/examples/easiest.rs

12 lines
224 B
Rust
Raw Normal View History

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