#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] use web_lisp::parser; fn main() -> Result<(), Box> { match parser::read(&std::fs::read_to_string( std::env::args().nth(1).ok_or("no filename provided")?, )?) { Ok(vals) => { for val in vals { println!("{val}"); } } Err(e) => eprintln!("Parse error: {e:?}"), } Ok(()) }