remove unused debug stuff

This commit is contained in:
afonya2 2025-06-03 18:38:37 +02:00
parent 40a1a459b3
commit d1483f9e61
Signed by: afonya
GPG key ID: EBB9C4CAFAAFB2DC
3 changed files with 0 additions and 13 deletions

View file

@ -553,11 +553,6 @@ fn compile_function(ast: Vec<ASTPart>, args: Option<Vec<String>>, registers: &mu
var.end = ops.len() - 1;
}
}
println!("Operations: {:?}\n", ops);
println!("Registers: {:?}\n", registers);
println!("Variable IDs: {:?}", variables);
println!("Strings: {:?}", strings);
println!("==========================");
return Compiled {
operations: ops,
@ -656,7 +651,6 @@ fn compile_body(compiled: Compiled, fpos: &mut usize) -> Vec<u8> {
op_bin.push_str(&num_to_bin(0, 4));
}
op_bin.push_str(&num_to_bin(0, 3));
println!("{}", op_bin);
append_binary(&mut output, op_bin);
}
for addition in additional {
@ -679,7 +673,6 @@ pub fn compile(ast: Vec<ASTPart>) -> Vec<u8> {
}
let compiled = compile_function(ast, None, &mut registers, &mut next_var_id);
println!("Compiled: {:?}", compiled);
let mut output: Vec<u8> = vec![];
//doctype specifier