[Haskell-cafe] combined parsing & pretty-printing

Jonas Almström Duregård jonas.duregard at chalmers.se
Wed Jan 26 18:06:38 CET 2011

Depending on your concrete syntax, you may be able to use BNFC


On 26 January 2011 17:22, Ozgur Akgun <ozgurakgun at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list