x86_64 compiler + elf output (can compile code that returns exit code)

This commit is contained in:
2026-06-03 01:50:43 -04:00
parent 473ddab0d4
commit 380a0f977a
11 changed files with 422 additions and 76 deletions
+5 -2
View File
@@ -1,9 +1,12 @@
use crate::parser::{Node, cursor::Token};
use crate::{
backend::arch::x86_64::Asm,
parser::{Node, cursor::Token},
};
pub mod x86_64;
pub enum AsmBlock {
X86_64(x86_64::Asm),
X86_64(Asm),
}
impl Node for AsmBlock {