home *** CD-ROM | disk | FTP | other *** search
- /***********************************************************
-
- Turbo Prolog Toolbox
- (C) Copyright 1987 Borland International.
-
- DOMAIN DEFINITIONS
- ***********************************************************/
-
- DOMAINS
- EXP = plus(EXP,EXP);
- minus(EXP,EXP);
- mult(EXP,EXP);
- div(EXP,EXP);
- power(EXP,EXP);
- factorial(EXP);
- conditional(EXP,EXP,EXP);
- call(PROCID,PARMLIST);
- var(STRING);
- neg(EXP);
- int(INTEGER);
- real(REAL);
- str(STRING);
- char(CHAR)
-
- PARMLIST = EXP*
-
- SENT = ifthenelse(EXP,SENT,SENT);
- ifthen(EXP,SENT);
- while(EXP,SENT);
- goto_line(INTEGER);
- goto_lbl(STRING)
-
-
- TOK = plus();
- minus();
- mult();
- div();
- power();
- exclmmark();
- questionmark();
- colon();
- id(STRING);
- lpar();
- rpar();
- int(INTEGER);
- real(REAL);
- str(STRING);
- char(CHAR);
- if_();
- then();
- else();
- while();
- do();
- goto();
- comma;
- nill
-