Hacker News new | ask | show | jobs
by tom_mellior 2224 days ago
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.
1 comments

Fair point... kinda feels like passing the buck, but not having that memory overhead is nice