removed debug variant macro

This commit is contained in:
2025-12-30 12:49:28 -07:00
parent c1a8af6aa7
commit a53ea7fd13
4 changed files with 312 additions and 131 deletions

View File

@@ -33,17 +33,6 @@ macro_rules! compile {
compiler.compile().errors
}};
(debug $source:expr) => {{
let mut writer = std::io::BufWriter::new(Vec::new());
let compiler = crate::Compiler::new(
parser::Parser::new(tokenizer::Tokenizer::from($source)),
Some(crate::CompilerConfig { debug: true }),
);
let res = compiler.compile();
res.instructions.write(&mut writer)?;
output!(writer)
}};
(check $source:expr) => {{
let mut writer = std::io::BufWriter::new(Vec::new());
let compiler = crate::Compiler::new(