Hi all,

When unpacking the optional token like the form in EBNF:
INSTR[MOD0][MOD1]...[MODn] ARGS
MOD0 to MODn must be in this order.

Shall I use the recursive rule like:
INSTR_MOD0 = INSTR MOD0 | INSTR
INSTR_MOD0_MOD1 = INSTR_MOD0 MOD1 | INSTR_MOD0
... ...

It's really too hard for human being to write when n is very large. Is
there any better rule writing style?

Best regards,
Davy


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ply-hack" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ply-hack?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to