└── readme.md /readme.md: -------------------------------------------------------------------------------- 1 | # Parsers built with JavaScript 2 | 3 | Trying to build a list of parsers/interpreters/converters built in JavaScript. 4 | 5 | ## Generic utilities 6 | 7 | * **[Jison](https://github.com/zaach/jison)** - bottom-up parser creator 8 | * **[peg.js](https://github.com/dmajda/pegjs)** - "simple" parser generator (*Based on [parsing expression grammar](http://en.wikipedia.org/wiki/Parsing_expression_grammar) formalism*) 9 | * Examples: [json.pegjs](https://github.com/dmajda/pegjs/blob/master/examples/json.pegjs), [javascript.pegjs](https://github.com/dmajda/pegjs/blob/master/examples/javascript.pegjs), [css.pegjs](https://github.com/dmajda/pegjs/blob/master/examples/css.pegjs) 10 | 11 | ## Programming languages 12 | 13 | ### JavaScript 14 | 15 | * **[ZeParser](https://github.com/qfox/ZeParser)** 16 | * **[esprima](https://github.com/ariya/esprima)** 17 | * **[UglifyJS](https://github.com/mishoo/UglifyJS/)** (includes parser) 18 | * **[iv](https://github.com/Constellation/iv)** (ES 5.1) 19 | * **[narcissus](https://github.com/mozilla/narcissus/tree/master/lib)** (includes parser) 20 | 21 | ### Ruby 22 | 23 | * **[opalscript](http://opalscript.org)** 24 | 25 | ## Other (markup, style, data) 26 | 27 | ### HTML 28 | 29 | * **[htmlparser](https://github.com/tautologistics/node-htmlparser)** 30 | * **[dom.js](https://github.com/andreasgal/dom.js)** (HTML5) 31 | * **[HTML5 Parser](https://github.com/blowsie/Pure-JavaScript-HTML5-Parser)** 32 | 33 | ### CSS 34 | 35 | * **[CSSOM](https://github.com/NV/CSSOM)** 36 | 37 | ### JSON 38 | 39 | *See [json.org](http://json.org)* 40 | 41 | * **[JSON.js](https://github.com/douglascrockford/JSON-js)** 42 | * **[json-sans-eval](http://code.google.com/p/json-sans-eval/)** 43 | --------------------------------------------------------------------------------