successfully compile basic test to wasm

This commit is contained in:
2021-10-25 21:12:56 +02:00
parent b8b0a21ef9
commit 3b4eeb5f9c
9 changed files with 435 additions and 28 deletions

View File

@@ -46,7 +46,6 @@ fn fold_expr(expr: &mut ast::Expression) {
} => {
fold_expr(left);
fold_expr(right);
dbg!(&left.expr, &right.expr);
match (&left.expr, &right.expr) {
(&ast::Expr::I32Const(left), &ast::Expr::I32Const(right)) => {
let result = match op {