Module: Peggy

Defined in:
lib/peg.rb,
lib/ast.rb,
lib/peggy.rb,
lib/parser.rb,
lib/builder.rb,
lib/Copy of peg.rb,
lib/Copy of builder.rb

Overview

require File.join(File.dirname(__FILE__), ‘parser’)

Defined Under Namespace

Classes: AST, Alternatives, AnyNumber, AtLeastOne, Builder, Element, Literal, Multiple, Negative, Node, Optional, PEG, Parser, Peggy, Positive, Production, Reference, Sequence

Constant Summary collapse

NO_MATCH =

Returned when a production did not match

false
IN_USE =

Used to prevent infinite (left) recursions

true