How do i make some thing repetitive

May 23, 2015 at 2:13 PM
Hello i have this:
Code.Rule = Statments;
this.Root = Code;

but how do i make that you can add as many statements as you like.

(just to make my point clear)
and ebnf its like this
"Code := Statments {Statments} "
and regex "(Statments)+"
May 26, 2015 at 2:00 AM
look at the sample grammars in Samples project
Jun 6, 2015 at 7:49 PM
Could you point out a specific location in the samples ?
Jun 8, 2015 at 5:34 AM
Edited Jun 8, 2015 at 5:35 AM
Look at almost any sample, look at use MakeStarRule and MakePlusRule methods