Chapter 2. Code generation basics
|2.1||The various forms of active code generation|
|2.2||Code generation workflow|
|2.3||Code generation concerns|
|2.4||Code generation skills|
|2.5||Choosing a language for your code generator|
This chapter introduces you to the range of code generation models that are used throughout the book. Code generators are separated into two high-level categories: active and passive. In the passive model, the code generator builds a set of code, which the engineer is then free to edit and alter at will. The passive generator maintains no responsibility for the code either in the short or long ...