227
edits
Line 26: | Line 26: | ||
The following CFG evaluates to all possible syntactical correct "programs" (new & | The following CFG evaluates to all possible syntactical correct "programs" (new & not yet public version): | ||
START -> ASSIGN '/n' START | ASSIGN | START -> ASSIGN '/n' START | ASSIGN | ||
ASSIGN -> (NAME ':=' )+ EXPRLST | NAME'(' [NAME (, NAME)* ] ')' | ASSIGN -> (NAME ':=' )+ EXPRLST | NAME'(' [NAME (, NAME)* ] ')' |
edits