You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Majda 7f2dc850e0 Change how the library is exported
This commit makes the library define the |PEG| global variable (for
browser export) and possibly assign it into |module.exports| (for
Node.js export) later. The |module.exports| assignment is done *outside*
the main library |function| statement.

The big idea behind this is to make copy & paste inclusion of the
library into another code easier -- one just needs to strip the last
three lines.
12 years ago
..
compiler.js Allow passing options to |PEG.buildParser| 12 years ago
emitter.js Make "Generated by ..." comment match the copyright comment 12 years ago
parser.js Make "Generated by ..." comment match the copyright comment 12 years ago
parser.pegjs AST: Store rules in an array instead of an object 12 years ago
passes.js Fix a bug in param name fixup code for sequences 12 years ago
peg.js Change how the library is exported 12 years ago
utils.js AST: Store rules in an array instead of an object 12 years ago