// mod assembler; mod lexer; // mod parser; mod error; use color_eyre::eyre::Result; // pub use error::*; use lexer::TokenString; fn main() -> Result<()> { // let code = "(+ 1 (+ 5 5))".to_string(); color_eyre::install()?; let code = "()".to_string(); let lexed: TokenString = code.parse()?; dbg!(lexed); Ok(()) /* let parsed = dbg!(parser::Parser::parse(code).unwrap()); let assembled = assembler::Assembler::assemble(parsed).unwrap(); for byte in assembled { print!("{byte:#X}, "); } println!(""); */ }