Combinator Parser Lib

Story

While reading the scala book by Martin Odersky I stumbled upon its brilliant article on combinator parsers. This project tries to give the building blocks for a similar library in d.

Implementation

To keep reuse simple the project consists of only one module (pc.parser) in one file pc/parser.d. In addition to a object oriented api I tried to add some operators to shorten the construction of parsers as much as possible.

Please see the integrated unittests for examples.

Sources
The sources are located in my private assembla repository. Feel free to contact me if you want to try them out.