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
2.6 Summary

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 ...

Get Code Generation in Action now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.