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 f2f88b87ea Make current parse position visible in actions and predicates
The speed/size impact is insignificant.

Speed impact
------------
Before:     214.11 kB/s
After:      214.87 kB/s
Difference: 0.35%

Size impact
-----------
Before:     1042691 b
After:      1046731 b
Difference: 0.38%

(Measured by /tools/impact with Node.js v0.6.6 on x86_64 GNU/Linux.)
12 years ago
..
vendor/qunit Upgrade QUnit to the current master 13 years ago
README Add command-line runner for the test suite 14 years ago
compiler-test.js Make current parse position visible in actions and predicates 12 years ago
helpers.js Add |expected| and |found| properties to exceptions thrown by parsers 12 years ago
index.html Unify checks and passes 13 years ago
parser-test.js AST: Store rules in an array instead of an object 12 years ago
passes-test.js Fix a bug in param name fixup code for sequences 12 years ago
run Use |util| module instead of |sys| 13 years ago

README

PEG.js Test Suite
=================

This is the PEG.js test suite. It ensures PEG.js works correctly. All tests
should always pass on all supported platforms.

Running in a browser
--------------------

  1. Open the index.html file in your browser.

  2. Watch the test pass (or fail).

Running from a command-line
---------------------------

  1. Make sure you have Node.js installed.

  2. Run the following command:

       ./run

  3. Watch the tests pass (or fail).