syntax: Abstract syntax descriptions for parsing and pretty-printing.

[ data, library, mit ] [ Propose Tags ]

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.

Versions [faq],,,,,
Dependencies base (==4.*), lens, mono-traversable, semi-iso [details]
License MIT
Copyright Paweł Nowak 2014
Author Paweł Nowak
Maintainer Paweł Nowak <>
Revised Revision 1 made by pawel834 at Thu Oct 30 19:48:13 UTC 2014
Category Data
Source repo head: git clone
Uploaded by pawel834 at Thu Oct 30 19:18:28 UTC 2014
Distributions NixOS:
Downloads 2866 total (61 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees