ptal / oak

A typed parser generator embedded in Rust code for Parsing Expression Grammars
Apache License 2.0
142 stars 14 forks source link

Reserved identifiers for rule names #50

Closed ptal closed 9 years ago

ptal commented 9 years ago

Forbid rule names to start with parse_* or recognize_* to avoid any conflicts.

ptal commented 9 years ago

I think it is a bad issue. Rule names and generated names are independents in all cases. Two generated names can only conflict if the rule name is the same, which is already analyzed.