hegemonic / catharsis

A JavaScript parser for Google Closure Compiler and JSDoc type expressions.
MIT License
54 stars 14 forks source link

Switch to new PEG.js syntax for text nodes #11

Closed hegemonic closed 11 years ago

hegemonic commented 11 years ago

The current version of PEG.js supports an improved syntax for text nodes. Catharsis should adopt the new syntax, which is clearer and more concise than the old syntax.

Examples of how to use the new syntax: 1, 2, 3, 4, 5.

hegemonic commented 11 years ago

This seems to have had a modest performance benefit as well. Bonus!