mirror of
https://github.com/Noratrieb/dilaria.git
synced 2026-01-16 18:35:02 +01:00
remove prints
This commit is contained in:
parent
9ed7998401
commit
f222e0cb10
3 changed files with 14 additions and 22 deletions
|
|
@ -46,7 +46,7 @@ pub fn run_program(program: &str) {
|
|||
}
|
||||
|
||||
fn process_ast(program: &str, ast: Program, mut runtime: RtAlloc) {
|
||||
println!("AST:\n{:?}\n", ast);
|
||||
// println!("AST:\n{:?}\n", ast);
|
||||
|
||||
let bytecode_alloc = Bump::new();
|
||||
|
||||
|
|
@ -54,7 +54,7 @@ fn process_ast(program: &str, ast: Program, mut runtime: RtAlloc) {
|
|||
|
||||
match bytecode {
|
||||
Ok(code) => {
|
||||
println!("Bytecode:\n{:#?}\n", code);
|
||||
// println!("Bytecode:\n{:#?}\n", code);
|
||||
|
||||
let result = vm::execute(&code, runtime);
|
||||
if let Err(result) = result {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue