[Yunq] Codegen example for yunq implementation.

This commit is contained in:
Drew Galbraith 2024-06-11 15:11:56 -07:00
parent 12fb84cfad
commit d6833be0ad
5 changed files with 116 additions and 11 deletions

View file

@ -1,3 +1,4 @@
mod codegen;
mod lexer;
mod parser;
@ -27,5 +28,7 @@ fn main() -> Result<(), Box<dyn Error>> {
println!("{:?}", decl);
}
println!("{}", codegen::generate_code(ast_parser.ast())?);
Ok(())
}