grammars: comment on rule repetitions
This commit is contained in:
parent
724f879fa2
commit
a61281fef5
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ namespace grammar_parser {
|
|||
// the following rewrite rules:
|
||||
// S{m,n} --> S S S (m times) S'(n-m)
|
||||
// S'(x) ::= S S'(x-1) |
|
||||
// (... x definitions of these S' rules ...)
|
||||
// S'(1) ::= S |
|
||||
// S{m,} --> S S S (m times) S'
|
||||
// S' ::= S S' |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue