syntax-0.1.1.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 pareser/printer implementation.
Modules
- Data
- Data.Syntax Abstract syntax description.
- Data.Syntax.Char Char specific combinators.
- Data.Syntax.Combinator Combinators that work with any sequence type.
- Data.Syntax Abstract syntax description.