2023-11-16 08:59:32 -06:00
|
|
|
pub mod lex;
|
|
|
|
pub mod codegen;
|
|
|
|
use crate::codegen::fasm::*;
|
|
|
|
use crate::parse::ast::*;
|
|
|
|
pub mod parse;
|
|
|
|
|
|
|
|
fn main() {
|
2023-11-16 18:01:52 -06:00
|
|
|
fasm_codegen(Expr::VarDefenition(VarDefenition {
|
|
|
|
name: "hi",
|
|
|
|
value: 100,
|
|
|
|
}));
|
2023-11-16 08:59:32 -06:00
|
|
|
}
|