fn main() -> Result<(), Box> { use ruast::*; let mut krate = Crate::new(); let def = Fn::main( None, Block::from( Path::single("println") .mac_call(vec![Token::lit("Hello, world!")]) .semi(), ), ); krate.add_item(def); println!("{krate}"); // krate.dump("hello.rs")?; // krate.compile("hello.rs", CompileOptions::default())?; Ok(()) }