1386 Commits (7d13580855b9d488297cca61a83d1c56a7b71345)
 

Author SHA1 Message Date
David Majda e3aa4df090 Changed action parameter processing to avoid the arguments object. 12 years ago
David Majda a1dcd245bb Action AST node no longer accepts functions as actions (only strings). 12 years ago
David Majda b2f230fad2 Added Optional AST node. 12 years ago
David Majda e5df8284b5 Added AndPredicate AST node. 12 years ago
David Majda c3c1c79665 Added OneOrMore AST node. 12 years ago
David Majda 8f59e21c8d Renamed an iterator variable: "key" -> "rule". 12 years ago
David Majda 3f5cb8850c Fixed PEG.buildParser's documentation and added a test. 12 years ago
David Majda 48da65d08e PEG.buildParser now accepts grammars only in string format. 12 years ago
David Majda 927f2d65c9 Exception tests also test exception messages. 12 years ago
David Majda b5ac4f0c4a Refactored helpers for testing of thrown exceptions. 12 years ago
David Majda de7536fd94 Added notes about ECMA-262, 5th ed. compatibility to the JSON example grammar. 12 years ago
David Majda a86e06a216 Add "Generated by ..." message to the generated parsers. 12 years ago
David Majda f37ca3fcdb Updated version to 0.4 12 years ago
David Majda 870144b439 Added CHANGELOG. 12 years ago
David Majda 7214de6dc8 README.md: Removed unnecessary "id" attribute from the example. 12 years ago
David Majda db4cc71f2c README.md: Fixed formatting. 12 years ago
David Majda 7822379c70 Rewrote the "Usage" section. 12 years ago
David Majda c9a5e283e7 README.md: Renamed the "Requirements" section to "Compatibility" and moved it at the end. 12 years ago
David Majda 3752fe211a README.md: Added the "Features" section. 12 years ago
David Majda b4bf906cf8 Modified README.md to indicate that IE6+ is supported. 12 years ago
David Majda 09291d6f0f Use "charAt(...)" instead of "[...]" for accessing string characters (compatibility with IE < 8). 12 years ago
David Majda 28459236aa Removed trailing comma that caused error in IE. 12 years ago
David Majda 4b51e6a6d3 Quote null characters in regexps, IE does not like them. 12 years ago
David Majda 7fc491412d Work around the fact that IE does not recognize "\v" in strings. 12 years ago
David Majda 6abda95a99 Made regexps generated for empty character classes ("[]" and "[^]") work in IE. 12 years ago
David Majda e79e869993 Compensate for IE's lack of Array.prototype.indexOf function. 12 years ago
David Majda 05381fedfa Fixed the inverted empty character class handling test. 12 years ago
David Majda e63f64a3d5 Make the generated parsers standalone (no runtime is required). 12 years ago
David Majda 3f85a9ca84 Regenerated the metaparser with one-level rule cache. 12 years ago
David Majda 24d38f74b9 Replaced two-level rule cache with a one-level one. 12 years ago
David Majda 74830d4f8f Sort expected strings in the error messages. 12 years ago
David Majda 37521cffa5 Error messages now do not contain duplicities. 12 years ago
David Majda 714512f232 Implemented generic AST node extension mechanism. 12 years ago
David Majda 1aa3d8e07e Implemented a nop (no operation) function and used it on few places. 12 years ago
David Majda 6a194e8f68 Added example JavaScript parser. 12 years ago
David Majda 16f238a64d Fixed comment heading. 12 years ago
David Majda 3291c70d97 Added \uFEFF (BOM) to the definition of whitespace in the metagrammar. 12 years ago
David Majda 383c5acaa6 Replaced \xA0 by \u00A0 in the whitespace definition in the metagrammar. 12 years ago
David Majda db616f0b77 Made the "version" variable scope smaller. 12 years ago
David Majda c5cc545209 "rake metaparser" and "rake minify" now always generate the target files. 12 years ago
David Majda 51232fd652 I don't like the .txt extension after all :-) 12 years ago
David Majda 9488291ac0 Converted README to GitHub Flavored Markdown. 12 years ago
David Majda 85bd98d846 Replaced .hgignore with .gitignore. 12 years ago
David Majda cfd46b622a Added a benchmark suite. 12 years ago
David Majda 751a33715d Added example CSS parser. 12 years ago
David Majda a1adbf0607 Added example JSON parser. 12 years ago
David Majda 20e230ca0e Killed *MatchFailure classes => simpler code. 12 years ago
David Majda f87bcd6332 Added tests for error messages displayed when a character class match fails. 12 years ago
David Majda 4f4bb34ded Implemented negative character classes (e.g. [^a-z]). 12 years ago
David Majda b3381b9352 Fixed test name. 12 years ago