organic/src/main.rs

13 lines
289 B
Rust

use crate::parser::document;
mod parser;
const TEST_DOC: &'static str = include_str!("../toy_language.txt");
fn main() -> Result<(), Box<dyn std::error::Error>> {
pretty_env_logger::init();
println!("{}\n\n\n", TEST_DOC);
println!("{:#?}", document(TEST_DOC));
Ok(())
}