
26 Oct
2011
26 Oct
'11
8:11 a.m.
On Tue, Oct 25, 2011 at 6:08 PM, Stephen Tetley
Pragmatically, code generation works well in domains where you have a succint input format and many candidates to generate - parser generators like YACC or Haskell's Happy are prime examples. If you don't have many candidates for generating, writing good libraries in the low-level language seems a more profficient use of one's time.
Can you elaborate on why? Is it because code generation is a lot harder than it looks? Or that it's a lot of tedious work for just one output program? -- Darrin