Depending on your concrete syntax, you may be able to use BNFC
(http://hackage.haskell.org/package/BNFC).

/J

On 26 January 2011 17:22, Ozgur Akgun <ozgurak...@gmail.com> wrote:
> Dear Café,
> I working on a DSL represented by a algebraic data type with many
> constructors. I can write (separately) a parser and a pretty-printer for it,
> and I am doing so at the moment. However, this way it feels like repeating
> the same information twice.
>
> Is there any work to combine the two?
> Best,
> Ozgur
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to