296 Commits (c639c1fc83b33b40db84224e041d89ccddaac790)
 

Author SHA1 Message Date
David Majda c639c1fc83 PEG.js grammar: Replace two instances of |string / ""| by |string?| 11 years ago
David Majda c04af99df8 Implament case-insensitive class matching 11 years ago
David Majda b540b2d460 Implement case-insensitive literal matching 11 years ago
David Majda 88c50a3e33 Add tests for zero- and one-char literals 11 years ago
David Majda 1c11e4aaa3 Split |literal| rule in the PEG.js grammar to |literal| and |string| 11 years ago
David Majda 950cc80738 Few small README.md fixes 11 years ago
David Majda da12c2f5d4 Compile Codie templates only once 11 years ago
David Majda a5af9611a2 Introduce |context.delta| function to make creating contexts more DRY 11 years ago
David Majda be3b87ec71 Refactor "grammar" emitter function a bit 11 years ago
David Majda 2b09a7116d Refactor "rule" emitter function a bit 11 years ago
David Majda 131b6dd01f Refactor "sequence" emitter function a bit 11 years ago
David Majda f29ff236b8 Refactor "simple_and" emitter function a bit 11 years ago
David Majda 506d8107a1 Refactor "simple_not" emitter function a bit 11 years ago
David Majda 13ae52b2bf Refactor "semantic_and" emitter function a bit 11 years ago
David Majda 9111020ca2 Refactor "semantic_not" emitter function a bit 11 years ago
David Majda cc3bd4f310 Refactor "zero_or_more" emitter function a bit 11 years ago
David Majda 85c1b010b6 Refactor "one_or_more" emitter function a bit 11 years ago
David Majda b5ca96dd48 Refactor "action" emitter function a bit 11 years ago
David Majda 50a0371e2d Refactor "rule_ref" emitter function a bit 11 years ago
David Majda eaba6b8a9d Refactor "literal" emitter function a bit 11 years ago
David Majda 2120c908c7 Refactor "class" emitter function a bit 11 years ago
David Majda 0748fee1d3 Use Codie for code templates 11 years ago
David Majda 38c25efde0 Use single quotes for code in the emitter 11 years ago
David Majda 45c99f8f6b Generate more efficient code for empty literals 11 years ago
David Majda 4de3cc1716 Fix comment typos 11 years ago
David Majda eceda8b5e8 Use correct disjunction operator in |computeErrorPosition| 11 years ago
David Majda cb2415a4fd Fix output printed during test failures 11 years ago
David Majda 50be1081e0 Sort JSHint options alphabetically 11 years ago
David Majda ce40a8e815 benchmark/index.js: Use radix in |parseInt| call 11 years ago
David Majda c8c5187768 Make "jake hint" check benchmark/index.js 11 years ago
David Majda 11a44948ab Extract JavaScript and CSS from benchmark/index.html into separate files 11 years ago
David Majda 8841c31d1b benchamrk/runner.js: Add "()" to constructor invocations 11 years ago
David Majda cad3013966 benchmark/runner.js: Add missing semicolon 11 years ago
David Majda 17f62ae9e3 test/parser-test.js: Replace "\0" with "\x00" 11 years ago
David Majda 934bfa5eef test/parser-test.js: Fix missing/unnecessary semicolons 11 years ago
David Majda d84f38c64b test/parser-test.js: Fix comments that look like nested to JSHint 11 years ago
David Majda 34d19a7dc6 test/passes-test.js: Add missing semicolons 11 years ago
David Majda 0fe5769024 test/checks-test.js: Avoid function definitions in loops 11 years ago
David Majda 96192417d8 test/compiler-test.js: Remove extra comma 11 years ago
David Majda e93eaa0e0e test/compiler-test.js: Add missing semicolon 11 years ago
David Majda cc4910d9b9 src/compiler.js: Fix variable redefinition 11 years ago
David Majda bc4821581c src/emitter.js: Fix variable redefinitions 11 years ago
David Majda a52522c7c6 src/emitter.js: Remove unnecessary semicolon 11 years ago
David Majda d1b83e4ab3 src/emitter.js: Use strict comparison 11 years ago
David Majda f893d47b98 src/utils.js: Make |quoteForRegexpClass| escape control characters 11 years ago
David Majda ab49197ef1 src/utils.js: Make |quote| escape control characters 11 years ago
David Majda 67afc788ad src/parser.pegjs: Use radix in |parseInt| calls instead of "0x" prefix 11 years ago
David Majda 13c47d6c4f src/parser.pegjs: Replace "\0" with "\x00" 11 years ago
David Majda b80cd9cb02 src/parser.pegjs: Use strict comparison 11 years ago
David Majda cc416199be src/parser.pegjs: Add missing semicolons 11 years ago