waxeye-org / waxeye

Waxeye is a parser generator based on parsing expression grammars (PEGs). It supports C, Java, JavaScript, Python, Racket, and Ruby.
https://waxeye-org.github.io/waxeye/index.html
Other
235 stars 38 forks source link

TypeScript runtime: Better expression arguments #80

Closed glebm closed 7 years ago

glebm commented 7 years ago

Previously, every expression had an args array property.

Replaces these with more appropriate properties specific to the type of the expression, eliminating some redundant arrays and making the code more readable.

/cc @ddrone

orlandohill commented 7 years ago

Looks great! Thanks!