[Haskell-beginners] Generating Code To Embed in an Event Loop

Darrin Thompson darrinth at gmail.com
Wed Oct 26 14:11:57 CEST 2011


On Tue, Oct 25, 2011 at 6:08 PM, Stephen Tetley <stephen.tetley at gmail.com>wrote:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20111026/632f99c1/attachment.htm>


More information about the Beginners mailing list