pry 0.3.2

Pry - practical parser combinators library for D


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Pry

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

Authors:Dmitry Olshansky

Dependencies: none

Versions:
0.3.2 2017-Jan-15
0.3.1 2017-Jan-15
0.3.0 2017-Jan-14
0.2.0 2017-Jan-09
0.1.0 2016-Dec-20
Show all 6 versions
Stats:

statistics are temporarily disabled.