hotwire haku2 into rkgk
really a bodge job right now and it crashes but it's a start
This commit is contained in:
parent
550227da34
commit
5de4f9d7c6
9 changed files with 178 additions and 71 deletions
|
@ -54,6 +54,6 @@ fn renderRec(vm: *Vm, canvas: *Canvas, val: Value, depth: usize, max_depth: usiz
|
|||
}
|
||||
|
||||
pub fn render(vm: *Vm, canvas: *Canvas, max_depth: usize) !void {
|
||||
const val = try vm.pop();
|
||||
const val = vm.stack[vm.stack_top - 1];
|
||||
try renderRec(vm, canvas, val, 0, max_depth);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue