Interface-Language/src/main.rs
2024-12-09 00:21:13 +09:00

13 lines
277 B
Rust

use std::io::{self, Read};
pub mod om;
pub mod renderer;
fn main() {
let mut input = String::new();
io::stdin().read_to_string(&mut input).expect("Failed to read from stdin");
om::tokenizer::Tokenizer::new(input).for_each(|token| {
println!("{:?}", token);
});
}