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 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.
9 years ago
..
compiler UMD parsers: Generate parser wrapper separately from its toplevel code 9 years ago
utils Remove trailing commas in object literals 9 years ago
.eslintrc.json ESLint: Set environments better 9 years ago
compiler.js lib/compiler.js: Fix indentation 9 years ago
grammar-error.js Merge pull request #347 from mbaumgartl/errorstack 9 years ago
parser.js Support passing custom location info to "error" and "expected" 9 years ago
peg.js Rewrite handling of optional parameters 9 years ago