pegjs/lib
David Majda 7f8b3f7012 UMD parsers: Generate parser wrapper separately from its toplevel code
Code which was at the toplevel of the "generateJS" function in the code
generator is now split into "generateToplevel" (which genreates parser
toplevel code) and "generateWrapper" (which generates a wrapper around
it). This is pure refactoring, generated parser code is exactly the same
as before.

This change will make it easier to modifiy the code genreator to produce
UMD modules.

Part of work on #362.
2016-05-02 12:41:19 +02:00
..
compiler UMD parsers: Generate parser wrapper separately from its toplevel code 2016-05-02 12:41:19 +02:00
utils Remove trailing commas in object literals 2015-08-21 16:02:13 +02:00
.eslintrc.json ESLint: Set environments better 2016-01-29 14:50:38 +01:00
compiler.js lib/compiler.js: Fix indentation 2016-04-28 10:10:48 +02:00
grammar-error.js Merge pull request #347 from mbaumgartl/errorstack 2015-07-03 13:05:41 +02:00
parser.js Support passing custom location info to "error" and "expected" 2016-04-27 14:11:32 +02:00
peg.js Rewrite handling of optional parameters 2016-04-27 13:40:23 +02:00