Tree Oriented Programming [pdf]
To generalize this beyond programming languages parsing. That&#x27;s basically what Model-Driven Engineering boils down to.<p>You take a model, transform to another model (if you need to), then use it to generate stuff (basically reports and&#x2F;or code).<p>A model is just a tree that respects a set of structural properties
(the metamodel), just like a program is a text file that respects a grammar.<p>This should be nice and clean, but it&#x27;s been just a few months since I started meddling with MDE (because academia) and it seems bloated beyond salvation. Maybe we could take the good parts and rehash them in a functional setting.