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