News for hackers. Stuff that matters.
Re:Flattening ASTs (and Other Compiler Data Structures) by revskill on Sunday July 02, 2023 @04:54AM (#36559640)
I did something similarly for my Yaml to Sql compiler at https://yaml2sql.netlify.app.

The process of flattening is kinda weird, but fun, worth the effort afterall.

For example, the Boolean expression flatten is good exercise for who wants to try out: https://github.com/revskill10/yaml2sql/blob/main/app/query.r...

There are no comments on this comment yet.