@hackage syntax0.2.0.0

Abstract syntax descriptions for parsing and pretty-printing.

Abstract syntax descriptions for parsing and pretty-printing. Write a single syntax description, get both a parser and a pretty-printer.

Syntax descriptions are based on semi-isomorphisms from semi-iso library.

The library is very young. There are lots of useful combinators that could be written.

See syntax-example for an example, syntax-attoparsec and syntax-pretty for a parser/printer implementation.