1.5: Generating Real Perl Code
- Generating code has it own set of problems
- Debugging is tricky
- Formatting generated code
- Why? So you can read it and debug it!
- Tracking what is executing code vs code to be generated is tricky
- Generating logic has to think in meta logic
- It needs to know the primary logic goal
- It needs to know how to generate code for that goal
- It needs to support all the options for the generated code