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;
2023-08-03 19:08:20 +02:00
pub static EASIEST: &str = include_str!("./reid/easiest.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);
}