News for hackers. Stuff that matters.
Re:Flattening ASTs (and Other Compiler Data Structures) by tempodox on Sunday July 02, 2023 @05:27AM (#36559807)
I haven't seen RPN inside a compiler yet, but that's actually not a bad idea. Interesting article.
Re:Flattening ASTs (and Other Compiler Data Structures) by vanderZwan on Sunday July 02, 2023 @06:37AM (#36560164)
Aren't stack machines the bread and butter of many intermediate representations? Or is that more of an interpreter thing than a compiler thing?
Re:Flattening ASTs (and Other Compiler Data Structures) by pjmlp on Sunday July 02, 2023 @07:00AM (#36560276)
They are for executable formats.

On compiler IR, the modern way is to use SSA rather.