The luthor package

[Tags:bsd3, library, test]

Like parser combinators? Building a big parser? Save hundreds of sloc, hours of debuging and several headaches by using Luthor on top of the familiar Parsec library.

Parsec works great for small parsers, but as the size of the parser grows, complexity can grow exponentially without taking serious and tricky precautions. Luthor provides reusable utilities to isolate the complex parts of parsing. Amonst its weaponry are 1) more composable combinators, 2) pre-built token parsers, 3) tools to build a scannerful parser, and 4) tools to work with indentation. Luthor reduces overall complexity, generally increases performance and error reporting, and cuts down on wheel re-invention.

BIG CAVEAT: It is difficult to understand all the ways in which Parsec fails to be composable, so there may be some combinators in Luthor which fail to be composable. If you're getting weird (i.e. Parsec-like) results, add a try and please report.


Versions 0.0.0, 0.0.1, 0.0.2
Change log
Dependencies base (==4.*), mtl (==2.*), parsec (==3.*), transformers (>=0.3) [details]
License BSD3
Author Zankoku Okuno
Stability experimental
Category Text, Language
Home page
Bug tracker
Source repository head: git clone
Uploaded Wed Nov 25 23:03:48 UTC 2015 by ZankokuOkuno
Distributions NixOS:0.0.2
Downloads 425 total (3 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees