pry 0.4.0

Pry - practical parser combinators library for D

To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:


On the surface Pry is a PEG-inspired parser combinator library. The focus of development is pragmatic qualities such as achieving performance on par with handwritten parsers, at the expense of idealistic goals to e.g. support the most features of the PEG grammars.

Special bits are:

  • completely generic input via "Stream", a thin wrapper on top of D ranges
  • compile-time optimized building blocks for things like 'one of a set values', 'given value'
  • support for parsing TLV (type, length, value) style records commonly found in binary formats
  • optional grammar-driver parser generator on top of combinators framework
  • Dmitry Olshansky
0.7.0 2023-Jul-14
0.6.0 2023-Jul-10
0.5.0 2023-Jun-29
0.4.0 2017-May-03
0.3.2 2017-Jan-15
Show all 10 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 73 downloads total

Short URL: