Re: [Haskell-cafe] Designing a DSL?

2009-10-05 Thread S. Doaitse Swierstra
On 2 okt 2009, at 20:37, Jake McArthur wrote: Günther Schmidt wrote: And that I find to be the really tricky part, how do I *design* a DSL? I once wrote a tutorial on this subject in which I explain that designing a DSL is not so much different from an ordinary programming language;

Re: [Haskell-cafe] Designing a DSL?

2009-10-05 Thread Günther Schmidt
Hello Doaitse, thank you very much! Best regards Günther ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Designing a DSL?

2009-10-02 Thread Günther Schmidt
Hi, there are numerous examples on how to implement a DSL, but I haven't been able to figure out how to design one. I mean I have a pretty good idea of the problem domain, I've coded it over and over again until I got it right. Now I'd like to express that part as a DSL instead of hard

Re: [Haskell-cafe] Designing a DSL?

2009-10-02 Thread Jake McArthur
Günther Schmidt wrote: And that I find to be the really tricky part, how do I *design* a DSL? My favorite approach is something like as described in these: http://lukepalmer.wordpress.com/2008/07/18/semantic-design/ http://conal.net/papers/type-class-morphisms/ It takes a little bit of