The derp package

[Tags: bsd3, library]

A parser based on derivatives of parser combinators (Might and Darais). Our paper on Arxiv details the theory of parsing with derivatives: This implementation uses my latest work on the theory that brings the O(n*|G|^2) complexity bound to O(n) for parsing most not-painfully-ambiguous grammars. (|G| would be the size of the initial grammar, n would be size of the input. These bounds are based off of observation and intuition; they are not proven yet.) This implementation will not terminate if the resulting parse forest is infinite. We know how to extend the implementation to work for infinite parse forests with little effort. If this is something you would like to see, send me an email.


Versions0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6
Dependenciesbase (<5), containers
AuthorDavid Darais
Upload dateWed Mar 28 02:06:30 UTC 2012
Uploaded byDavidDarais
Downloads587 total (54 in last 30 days)




Maintainers' corner

For package maintainers and hackage trustees