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.
7f2dc850e0
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 | 12 years ago | |
emitter.js | 12 years ago | |
parser.js | 12 years ago | |
parser.pegjs | 12 years ago | |
passes.js | 12 years ago | |
peg.js | 12 years ago | |
utils.js | 12 years ago |