Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 3,290 posts.

Any topic
2020
2072

One-pass Compiler

A one-pass compiler emits assembly (or binary code) right during parsing, without creating an intermediate representation, such as an AST. This is a rare technique that was used back in the days when computer memory was scarce. This limited both the language features that were possible and the quality of the produced…