News for hackers. Stuff that matters.
Re:How an Optimizing Compiler Works by nothrabannosir on Monday November 11, 2019 @06:20PM (#21509998)
Scala has well documented compiler passes which act on the full AST, so they're also source -> source. You can print the AST after any pass, using a command line flag. It's not as easy as a Lisp, but useful when you're working on a compiler plugin or extension.
Re:How an Optimizing Compiler Works by bjoli on Tuesday November 12, 2019 @07:12AM (#21513453)
The thing with guile is that it is already an AST, so the code ,opt outputs is still valid guile.