News for hackers. Stuff that matters.
Re:Let’s Build a Compiler (1995) by vidarh on Wednesday February 19, 2020 @01:52PM (#22368714)
Yes, it's work of course, but it's quite mechanical work that requires little thought.

Instead of calling the code emitter, you call an AST builder.

Then you build a tree walker that call the code emitter.

At least the Wirth Oberon compiler was retrofitted with an AST by at least one student in Wirth's group as part of experiments with optimization passes.

There are no comments on this comment yet.