What is Frontier?
Download
News & Updates
Web Tutorial
Scripting Tutorial
BBEdit Scripting
Directory
Mailing Lists
Sample Scripts
Verb Set
Frontier Site Outline
Search
Guestbook
BBS
User's Guide
1
2
3
4
5
6
7
8
9
10
11
Apple
File
Edit
Main
Open
Suites
Web
Window
Menubar
Outline
Script
Table
WP
|
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 5/7/97; 1:45:36 PM.
It was originally posted on 9/30/93; 11:06:52 AM.
Internet service provided by Conxion.
|