mparser
mparser copied to clipboard
A simple monadic parser combinator library for OCaml
The documentation for mparser's expression parser says > Adjacent prefix and postfix operators of the same precedence are not well-formed. For example, if (-) denotes prefix negation, --x is not...
Minor addition of infix operators inline with [angstrom](https://github.com/inhabitedtype/angstrom/blob/master/lib/angstrom.mli#L406-L412) (and Haskell style parser combinator libraries). I also reused the wording from angstrom for how these 4 functions work, I feel it...
This is not a bug, but I'm wondering how I can use MParser to write a parser for a C-like language? The main issue I'm running into is when defining...
it would be helpful to have a sample project using dune to play with
If you use something like `string ":\n"` in a parser, the line position is not updated if it matches. In many cases, the string or character to consume is literal...