On Wed, Jun 17, 2009 at 9:53 PM, Vasili I. Galchin
<vigalchin@gmail.com> wrote:
Hello,
Let me change the subject ... I think everybody understood my "thrust" but let me make more provocative. Don, please let me expose my ignorance for the greater good and time my personal scorn ;^) ... "EDSL" time => Embedded Domain-Specific Language?? If so, can you please be more specific! I don't mind to be a grunt for Haskell.
Yes, EDSL is Embedded Domain-Specific Language. Although, I'm not sure I understand what you are asking. I looked at the wiki page which Conal created and he does mention using an EDSL in Haskell to generate code. Perhaps this is what you want to know more about?
There is a paper linked from the wiki page that should help a lot with answering questions you have about the technique. For a simple example of how it can work, I wrote a program called Autoproc that 'compiles' the haskell EDSL into a procmail recipe. You can find the source code here:
darcs get
http://projects.codersbase.com/repos/autoproc/