This project has moved and is read-only. For the latest updates, please go here.

How do i make some thing repetitive

May 23, 2015 at 3: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 3:00 AM
look at the sample grammars in Samples project
Jun 6, 2015 at 8:49 PM
Could you point out a specific location in the samples ?
Jun 8, 2015 at 6:34 AM
Edited Jun 8, 2015 at 6:35 AM
Look at almost any sample, look at use MakeStarRule and MakePlusRule methods