a very good simple book full of good advises
you build a tool which build some computational structured "neural networks" or "regression trees" or whatever...certain semantic model, which you want to dump to a text in a certain language
because you want to be able to compile it for production, because you want to run it fast, because you want to understand it, because you want to modify it
how to do it
think how many way you can dump into c++ code state automata for two state machine with a simple cicrle of transitions for one character input language
dozens...some of them are good for something, others are good for something else...
the bull is very practical, it's not compile theory books, it's practical advsces how to build code generators writing good readable manageable debugable codehttp://www.amazon.com/Code-Generation-Action-Jack-Herrington/dp/1930110979/