13 lines
277 B
Rust
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);
|
|
});
|
|
}
|