209 Commits (d08e8bf52d77afcfa08a129a865772fa3474b90a)

Author SHA1 Message Date
David Majda 2120c908c7 Refactor "class" emitter function a bit 10 years ago
David Majda 0748fee1d3 Use Codie for code templates 10 years ago
David Majda 38c25efde0 Use single quotes for code in the emitter 10 years ago
David Majda 45c99f8f6b Generate more efficient code for empty literals 10 years ago
David Majda 4de3cc1716 Fix comment typos 10 years ago
David Majda eceda8b5e8 Use correct disjunction operator in |computeErrorPosition| 10 years ago
David Majda cc4910d9b9 src/compiler.js: Fix variable redefinition 10 years ago
David Majda bc4821581c src/emitter.js: Fix variable redefinitions 10 years ago
David Majda a52522c7c6 src/emitter.js: Remove unnecessary semicolon 10 years ago
David Majda d1b83e4ab3 src/emitter.js: Use strict comparison 10 years ago
David Majda f893d47b98 src/utils.js: Make |quoteForRegexpClass| escape control characters 10 years ago
David Majda ab49197ef1 src/utils.js: Make |quote| escape control characters 10 years ago
David Majda 67afc788ad src/parser.pegjs: Use radix in |parseInt| calls instead of "0x" prefix 10 years ago
David Majda 13c47d6c4f src/parser.pegjs: Replace "\0" with "\x00" 10 years ago
David Majda b80cd9cb02 src/parser.pegjs: Use strict comparison 10 years ago
David Majda cc416199be src/parser.pegjs: Add missing semicolons 10 years ago
David Majda 559db3a812 src/emitter.js: Sync |escape| in generated parsers with utils.js 10 years ago
David Majda e0ef7e1abb src/passes.js: Add missing semicolon 10 years ago
David Majda 2f671e0022 src/peg.js: Prevent redefinition of |undefined| differently 10 years ago
David Majda 10cca7b69d src/utils.js: Fix unescaped "]" inside a regexp 10 years ago
David Majda 6e934fccca src/utils.js: Fix missing/unnecessary semicolons 10 years ago
David Majda 938f655ccf src/utils.js: Fix variable redefinition in |escape| 10 years ago
David Majda 468597be27 Use |charCodeAt| instead of |charCode| when matching one-character literals 10 years ago
David Majda d3aff0c66a Use |charAt| instead of |substr| when matching classes 10 years ago
David Majda 0a1cea5f12 Use |charAt| instead of |substr| when matching one-character literals 10 years ago
David Majda 2fc877e875 Match literals using |RegExp.prototype.test| 10 years ago
David Majda d123cf0eda Rewrite variable handling in generated parsers 10 years ago
David Majda bb83b2189a Change how disabling failure reporting works in generated parsers 10 years ago
David Majda c6243fd872 Replace "MatchFailure" by "Failure" in many identifiers 10 years ago
David Majda 8f3e2d9344 Update version to 0.6.2 10 years ago
David Majda 747cb8afaa Reset parser position when action returns |null| 10 years ago
David Majda c91dc7e54b Update version to 0.6.1 11 years ago
David Majda b399004a90 Update version to 0.6.0 + update release date in CHANGELOG 11 years ago
David Majda 1f89c7746f Quote keys in |parseFunctions| table in generated parsers 11 years ago
David Majda 827a5ac312 Add PEG.js version information and homepage header to peg.js 11 years ago
David Majda 9917f79991 Add PEG.js version to "Generated by..." line in generated parsers 11 years ago
David Majda cc7ad9739f Add ability to start parsing from any grammar rule 11 years ago
David Majda 13a3621e79 Export the PEG library in simpler and more robust way 11 years ago
David Majda aa2327191f Escape 0xFF still with "\x", not "\u" 11 years ago
David Majda fc1f489165 Save one concatenation when creating cache keys in generated parsers 11 years ago
David Majda 98cbd57ead Add two missing |var|s (fix global namespace pollution) 11 years ago
David Majda aeb2cb4f1c Make sure quoting functions output only ASCII characters 11 years ago
David Majda 4ea2003b7b Export PEG.VERSION property with PEG.js version 11 years ago
David Majda e3effab86b Behave correctly in Rhino context (fixes previous commit) 11 years ago
David Majda 2120de36af Behave like CommonJS module in CommonJS context 11 years ago
David Majda 77ec4f7162 Little bit cleaner way to protect against |undefined| redefinition 11 years ago
David Majda 2d38c5cab3 Handle non-unique expected values of match failuers differently 11 years ago
David Majda b6288a8d9c Avoid quoting when reporting errors for literals 11 years ago
David Majda c8836c0312 Remove two unused variables 11 years ago
David Majda 7b03f164b8 Avoid passing |context| in the generated parser 11 years ago