Tillmann Rendel and Klaus Ostermann. "Invertible syntax descriptions: Unifying parsing and pretty printing".
Haskell Symposium 2010.

Regards,
    Malcolm

On 26 Jan, 2011,at 04:22 PM, Ozgur Akgun <ozgurakgun@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