feat: implement math in vm

This commit is contained in:
samsonium
2026-10-11 03:12:35 +03:00
parent 4577b541c3
commit 8696d5bfe7
4 changed files with 126 additions and 8 deletions
+1
View File
@@ -193,6 +193,7 @@ bool walk(fzl_walker_t *walker, fzl_node_t *node)
if (!walk(walker, node->unary_op.operand))
return false;
push_op(walker, FZL_OPCODE_PUSHARG);
push_op(walker, FZL_OPCODE_NEG);
break;
}