54 Commits (0c39f1cf86d73c85a1f832e6cfddf4176f9e58bc)

Author SHA1 Message Date
David Majda 0c39f1cf86 Fix labels leaking to outer scope 6 years ago
David Majda a4a66a2e5b Switch from first/rest to head/tail in the PEG.js grammar 6 years ago
David Majda 69a0f769fc Use literal raw text in error messages 6 years ago
David Majda 4b154e177f Update character categories in grammars to Unicode 8.0.0 6 years ago
David Majda 89146915ce Add location information to AST nodes 7 years ago
David Majda 7e3b4ec4f8 PEG.js grammar: Remove reserved word detection 8 years ago
David Majda e78ffbba9c PEG.js grammar: Improve the |Code| rule a bit 8 years ago
David Majda 64eb5faf54 PEG.js grammar: Fix line continuation handling in character classes 8 years ago
David Majda 0678bd8a0c PEG.js grammar: Add missing semicolon 8 years ago
David Majda cf294ef236 PEG.js grammar: Add limitations 8 years ago
David Majda 0459ab6b37 PEG.js grammar: Formatting & comments 8 years ago
David Majda 6f2510e49e PEG.js grammar: Make rules with operators more generic 8 years ago
David Majda 45c29a886f PEG.js grammar: Extract the |SemanticPredicateExpression| rule 8 years ago
David Majda da18f6a729 PEG.js grammar: Extract the |RuleReferenceExpression| rule 8 years ago
David Majda 8e6f98e45c PEG.js grammar: Extract the |ActionExpression| rule 8 years ago
David Majda 5c6f4dd38b PEG.js grammar: Append |Expression| to expression rule names 8 years ago
David Majda 27c2d26203 PEG.js grammar: More JavaScript-like initializer/rule separation 8 years ago
David Majda 4ce7593f5f PEG.js grammar: Extract the |AnyMatcher| rule 8 years ago
David Majda c0df01b092 PEG.js grammar: Improve code block handling 8 years ago
David Majda 13f72bb19d PEG.js grammar: More JavaScript-like rules for identifiers 8 years ago
David Majda 0d6b91cb20 PEG.js grammar: More JavaScript-like rules for strings/literals/classes 8 years ago
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 4cda79951a Git repo npmization: Compose PEG.js from Node.js modules 9 years ago
David Majda a4df483159 s/Modelled/Modeled/ 9 years ago
David Majda cdf23e0a49 Change ordering of "literal", "class" and "any" code 10 years ago
David Majda eb4badab24 Refactor named rules AST representation 10 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 4d5b1d58aa AST: Store rules in an array instead of an object 10 years ago
David Majda c639c1fc83 PEG.js grammar: Replace two instances of |string / ""| by |string?| 10 years ago
David Majda c04af99df8 Implament case-insensitive class matching 10 years ago
David Majda b540b2d460 Implement case-insensitive literal matching 10 years ago
David Majda 1c11e4aaa3 Split |literal| rule in the PEG.js grammar to |literal| and |string| 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