invertible-syntax

Invertible syntax descriptions for both parsing and pretty printing.

http://www.informatik.uni-marburg.de/~rendel/unparse

Latest on Hackage:0.2.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Tillmann Rendel
Maintained by [email protected]

Invertible syntax descriptions as a common interface for parser combinator and pretty printing libraries, as described in the paper:

Tillmann Rendel and Klaus Ostermann. Invertible Syntax Descriptions: Unifying Parsing and Pretty Printing. In Proc. of Haskell Symposium, 2010.

The distribution contains a file Example.lhs with the example grammar from the paper.

The paper also describes partial isomorphisms. These are distributed separately in the partial-isomorphism package.