Pom Versions Save

PEG parser combinators using operator overloading without macros.

v0.8.0

7 years ago
  • Add p.name(_), give parser a name to identify parsing errors.
  • Add p.convert(f), convert parser result to desired value, fail in case of conversion error.
  • list(p,s) backtrack to the last successfully matched element.
  • Merged 2 pull requests from new contributors.

v0.7.0

7 years ago
  • Add p.pos() to get input position after matching p.
  • No longer use extra_requirement_in_impl.
  • Add pom::Parser<I, O> as alias of pom::parser::Parser<'static, I, O>.

v0.6.0

7 years ago
  • Rename eof() to end().
  • Rename term() to sym().
  • Add Benchmark and document.

v0.5.0

7 years ago

Add p >> q operation, where q depends on the result of p.

v0.4.0

7 years ago
  • Now parser's Input is a trait.
  • Input has two impls: DataInput and TextInput.

v0.3.0

7 years ago
  • seq(), one_of() and none_of() can accept either string literals or byte string literals.
  • Add json_char parser example.
  • JSON parser supports escaped UTF-16 character including surrogate pairs.

v0.2.0

7 years ago

Add list(p,s) to parse separated list.

v0.1.0

7 years ago

Ingenious design and implementation of parser combinators.