209 Commits (d08e8bf52d77afcfa08a129a865772fa3474b90a)

Author SHA1 Message Date
David Majda bcb5271649 PEG.js grammar: More JavaScript-like rules for skipped elements 8 years ago
David Majda b463808b3f PEG.js grammar: Replace several smaller comments by a big initial one 8 years ago
David Majda a5a0609505 PEG.js grammar: Inline trivial character rules 8 years ago
David Majda ae89f5e469 PEG.js grammar: Change whitespace handling 8 years ago
David Majda 4725632641 PEG.js grammar: Capitalize rule names 8 years ago
David Majda fb72c430e6 PEG.js grammar: Fix line continuation handling 8 years ago
David Majda 3dbec0b30d PEG.js grammar: Fix how |rawText| is created 8 years ago
David Majda df154daafb PEG.js grammar: Disallow empty sequences 8 years ago
David Majda 2f2152204a Refine error handling further 8 years ago
David Majda f8b5e04bba Error handling: Use the new |error| function in PEG.js's grammar itself 8 years ago
David Majda 86769a6c5c Error handling: Make |?| return |null| on unsuccessful match 8 years ago
David Majda 5942988f66 Remove the |startRule| property from the AST 9 years ago
David Majda f0a6bc92cc Text nodes: Use text nodes in PEG.js grammar 9 years ago
David Majda 5e146fce38 Text nodes: Implement text nodes 9 years ago
David Majda af20f024c7 Text nodes: Disallow the "$" character in identifiers 9 years ago
David Majda 0519d7e3ce Git repo npmization: Make the repo a npm package 9 years ago
David Majda 4cda79951a Git repo npmization: Compose PEG.js from Node.js modules 9 years ago
David Majda c6cf129635 Git repo npmization: Do not use @VERSION 9 years ago
David Majda a7584fa878 Rebuild src/parser.js (forgotten in the previous commit) 9 years ago
David Majda 277fb23411 Setup prototype chain for |SyntaxError| in generated parsers correctly 9 years ago
David Majda 143924357b Setup prototype chain for |PEG.GrammarError| correctly 9 years ago
David Majda 428fe294cf Change |PEG.GrammarError| name 9 years ago
David Majda df1ecb1313 Fix typo found by Almad also in the generator 9 years ago
David Majda 406ac0a288 Fix banner typo 9 years ago
Almad 030ac3d6f9 Grammar typo 9 years ago
David Majda 208cc33930 Allowed start rules must be specified explicitly 9 years ago
David Majda 6a1ec7631f Do not modify |options| passed to |PEG.buildParser| 9 years ago
David Majda a4df483159 s/Modelled/Modeled/ 9 years ago
David Majda 98ff2eb83f Allow passing options to the parser 9 years ago
David Majda a3fe36a466 Add missing semicolon 9 years ago
David Majda 7134b09e50 Merge |allocateRegisters| and |computeParams| passes 9 years ago
David Majda a1fd6acc92 Do not compute |resultIndex| for "rule" nodes 9 years ago
David Majda 2d36ebeb59 Mental model change: Variables do not form a stack, they are registers 9 years ago
David Majda 2f3dd951e9 Do not store result variable indices, just the counts 9 years ago
David Majda 42d4fc6dd4 Get rid of two parser variable stacks 9 years ago
David Majda 890140d73b More responsibility for computing |resultIndex| to node's parent 9 years ago
David Majda 2c8b323ade Replace variable name computations by computations of indices 9 years ago
David Majda 725927e05f Change ordering of "action" code 9 years ago
David Majda cdf23e0a49 Change ordering of "literal", "class" and "any" code 9 years ago
David Majda eb4badab24 Refactor named rules AST representation 9 years ago
David Majda a59516f89b Small reordering of properties when creating |class| nodes 10 years ago
David Majda 7900b66c70 Fix |braced| rule in the PEG.js grammar 10 years ago
David Majda 4f86fca3d7 Make the code emitter a compiler pass 10 years ago
David Majda 44852fa6b4 Pass |options| to compiler passes 10 years ago
David Majda 53f70b9eb9 Move compiler passes and their tests into a subdirectory 10 years ago
David Majda f046e0a838 Move compiler-related source files and tests into a subdirectory 10 years ago
David Majda 6091e4426b Update version to 0.7.0 10 years ago
David Majda 7faf40dc44 Do not use results cache in the PEG.js grammar parser 10 years ago
David Majda 5b3321d302 Implement |cache| option for |PEG.buildParser| 10 years ago
David Majda 1ee6731b51 Supply default option value only if the option is not specified 10 years ago