Re:One-pass Compiler
by tom_mellior on Saturday May 23, 2020 @10:43AM
(#23283340)
There is no way to "fill in the jump values" if you have already emitted the goto to a place you can't modify later. Like the featured article does, emitting its code with printf. I agree that you could emit code to an intermediate buffer, fix it up later, and still call this (a slightly more relaxed version of) one-pass compilation.
[ Parent
| on HN ]