alex / rply

An attempt to port David Beazley's PLY to RPython, and give it a cooler API.
BSD 3-Clause "New" or "Revised" License
381 stars 60 forks source link

I couldn't find a way of quantification in definition for the parser generator #94

Closed rinarakaki closed 5 years ago

rinarakaki commented 5 years ago

I was expecting I could write like this:

@parser_generator.production("list : '(' expr (',' expr)* ')'")

There seems not be any documentation. Does that mean I can't do that with rply? Thanks

alex commented 5 years ago

Quantification is expressed with recursion.