Theory
lSource
lCode Generation in Action
Jack Herrington
Manning Press, 2003
lwww.manning.com/herrington
(Table of Contents, Chapter 1, Chapter 4)
www.codegenerationinaction.com
www.codegeneration.net
lDefinition
lThe technique of building and using programs to write other programs.
lPassive generators maintain no responsibility for the code…like many “wizards” in IDEs.
lActive generators maintain responsibility by allowing the generator to be run multiple times over the same output.
l