about summary refs log tree commit diff stats
path: root/apps/ex3
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-05-20 18:01:11 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-20 18:08:31 -0700
commit765c02d137035813d30d3d2dd18e75147a3ff437 (patch)
tree801dd9ffd41376b5d98611b54163caa0a132e352 /apps/ex3
parent504929a142df92b8710c7994329308fdd8a4cd5c (diff)
downloadmu-765c02d137035813d30d3d2dd18e75147a3ff437.tar.gz
mu.subx: 25 failing tests remaining
This was again hard to debug, because:
  - the mapping between recursive calls to emit-subx-stmt-list and the
    nested blocks of code in the output kept blowing my stack, and
  - I kept expecting the problem to be there, or in the data attached to
    variables. But it was in the `emit-cleanup-code-until-depth` for the
    previous/inner block, in code I thought I'd already fixed (`clean-up-blocks`)
    that accidentally worked for previous tests.

Part of the problem here is that my library for the stack sucks. It's only
for 4-byte elements, but I'm using it for 8-byte elements (handles). Which
leads to double-pushes and double-pops and -- here -- an insidiously wrong
call to `top`.

Anyways: halfway there!
Diffstat (limited to 'apps/ex3')
0 files changed, 0 insertions, 0 deletions