Frontier website on www.scripting.com
UserTalk Grammar
The formal grammar for the UserTalk language.
| statementlist eoltoken |
| identifiertoken |
| '[' expr ']' |
| ontoken bracketedidentifier '(' namelist ')' |
| ontoken bracketedidentifier '(' ')' |
| /*emptiness*/ |
| assigntoken expr |
| bracketedidentifier optionalinit |
| namelistid |
| namelist ',' namelistid |
| namelist ';' namelistid |
| statement |
| statementlist ';' statement |
| '{' statementlist '}' |
| term '^' |
| functionref '^' |
| '(' expr ')' '^' |
| term '.' bracketedidentifier |
| expr totoken expr |
| term '[' expr ']' |
| term '[' rangeref ']' |
| term '[' fieldspec ']' |
| dottedid |
| arrayref |
| bracketedidentifier |
| derefid |
| /*emptiness*/ |
| expr |
| term assigntoken expr |
| handlerheader bracketedstatementlist |
| handlerheader '{' kernelcall '}' |
| localtoken '(' namelist ')' |
| localtoken '{' namelist '}' |
| globaltoken '(' namelist ')' |
| globaltoken '{' namelist '}' |
| fileloopheader bracketedstatementlist |
| loopheader bracketedstatementlist |
| forloopheader bracketedstatementlist |
| forinloopheader bracketedstatementlist |
| ifheader bracketedstatementlist |
| ifheader bracketedstatementlist elsetoken bracketedstatementlist |
| bundleheader bracketedstatementlist |
| breaktoken '(' ')' |
| breaktoken |
| continuetoken |
| returntoken optionalexpr |
| caseheader '{' casebody '}' |
| caseheader '{' casebody '}' elsetoken bracketedstatementlist |
| withheader bracketedstatementlist |
| tryheader bracketedstatementlist |
| tryheader bracketedstatementlist elsetoken bracketedstatementlist |
| kerneltoken '(' dottedid ')' |
| filelooptoken '(' bracketedidentifier intoken expr ')' |
| filelooptoken '(' bracketedidentifier intoken expr ',' expr ')' |
| looptoken '(' statement ';' expr ';' statement ')' |
| looptoken |
| looptoken '(' expr ')' |
| whiletoken expr |
| looptoken '(' statement ';' expr ')' |
| fortoken term assigntoken expr totoken expr |
| fortoken '(' term assigntoken expr totoken expr ')' |
| fortoken term assigntoken expr downtotoken expr |
| fortoken '(' term assigntoken expr downtotoken expr ')' |
| fortoken term intoken expr |
| fortoken '(' term intoken expr ')' |
| iftoken expr |
| trytoken |
| bundletoken |
| casetoken expr |
| /*emptiness*/ |
| bracketedstatementlist |
| expr optionalstatementlist |
| casebody ';' expr optionalstatementlist |
| withtoken termlist |
| term |
| termlist ',' term |
| expr |
| exprlist ',' expr |
| /*emptiness*/ |
| exprlist |
| /*emptiness*/ |
| expr |
| expr ':' expr |
| fieldspec |
| fieldlist ',' fieldspec |
| bracketedidentifier ':' expr |
| namedvalue |
| namedvaluelist ',' namedvalue |
| optionalexprlist |
| namedvaluelist |
| exprlist ',' namedvaluelist |
| term '(' parameterlist ')' |
| constanttoken |
| term |
| '@' term |
| functionref |
| plusplustoken term |
| term plusplustoken |
| minusminustoken term |
| term minusminustoken |
| '(' expr ')' |
| expr addtoken expr |
| expr subtracttoken expr |
| expr multiplytoken expr |
| expr dividetoken expr |
| expr modtoken expr |
| expr EQtoken expr |
| expr NEtoken expr |
| expr LTtoken expr |
| expr LEtoken expr |
| expr GTtoken expr |
| expr GEtoken expr |
| expr beginswithtoken expr |
| expr endswithtoken expr |
| expr containstoken expr |
| expr orortoken expr |
| expr andandtoken expr |
| subtracttoken expr %prec unaryminus |
| nottoken expr |
| '{' optionalexprlist '}' |
| '{' fieldlist '}' |
© Copyright 1996-97 UserLand Software. This page was last built on Wed, Jan 22, 1997 at 3:09:57 PM
with Frontier. Thanks for checking it out! Dave