Sign in Sign up
rubygems

pegarus

Pegarus is, broadly, an implementation of LPEG on Rubinius. LPEG implements a Parsing Expression Grammar using a parsing machine rather than the Packrat algorithm. (See "A Text Pattern-Matching Tool based on Parsing Expression Grammars" by Roberto Ierusalimschy.) Pegarus actually implements an abstract syntax tree (AST) for the PEG. There are various options to execute the AST against a subject string. One option is a simple AST-walking evaluator. A second option is an implementation of the LPEG parsing machine. A third option is a compiler that targets Rubinius bytecode.

Activity

Latest release
15y ago
Total releases
2
Cadence
~daily
Last 12 months
0

Details

First release
Oct 24, 2010
Releases
Version Released
0.2.0 minor
0.1.0 initial