RubyGems Navigation menu

pegarus 0.2.0

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.

Versions:

  1. 0.2.0 - October 24, 2010 (15.5 KB)
  2. 0.1.0 - October 24, 2010 (14.5 KB)

Authors:

  • Brian Ford

Owners:

A8e44ce1b57c2689d5a7172d15df42b5

Total downloads 2,658

For this version 1,370

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'pegarus', '~> 0.2.0' = Copy to clipboard Copied!

install:
gem install pegarus = Copy to clipboard Copied!

Links: