Sean P. DeNigris wrote
> - is there any specific reason that rules can't contain dashes? This seems
> pretty common.

Added by changing #grammrPEG from "Identifier <- [a-zA-Z_] [a-zA-Z0-9_]*" to
"Identifier <- [a-zA-Z_] [a-zA-Z0-9_\-]*"


Sean P. DeNigris wrote
> - Why use <- instead of = to separate the rule name from the definition?
> The standards I want to parse use the latter.

Added by changing #grammrPEG from "ASSIGN <- "<-"" to "ASSIGN <- "<-" / "=""

Both seem to be working well.



-----
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Xtreams-Extending-Bootstrap-tp4902579p4903437.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to