Description
Invertible syntax descriptions for both parsing and pretty printing.
Description
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.