about summary refs log tree commit diff stats
path: root/apps/desugar
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-08-25 00:24:03 -0700
committerKartik Agaram <vc@akkartik.com>2019-08-25 00:27:42 -0700
commitd230393c924276a8bb3d9661dff688d5b07705ff (patch)
tree4aa4271d75e49db304d75f6e5684e2baf3bb3f8f /apps/desugar
parentbe063736d0cd1f4141dc595361b575605683269d (diff)
downloadmu-d230393c924276a8bb3d9661dff688d5b07705ff.tar.gz
parsing *(reg+reg)
Turns out there's an ambiguity even in this simple one-line language:
when you see 'base+' you don't know whether the next token is the index
or displacement. (Whereas a '-' would be unambiguous but is still not
handled.)

Fixing this ambiguity adds 15 instructions worth of complexity.
Diffstat (limited to 'apps/desugar')
-rwxr-xr-xapps/desugarbin43605 -> 44097 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/apps/desugar b/apps/desugar
index 8b1eb786..88ba5534 100755
--- a/apps/desugar
+++ b/apps/desugar
Binary files differ