home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l216 / 2.ddi / XMINIGOL.DOM < prev    next >
Encoding:
Text File  |  1987-03-23  |  1.1 KB  |  58 lines

  1. /***********************************************************
  2.  
  3.      Turbo Prolog Toolbox
  4.      (C) Copyright 1987 Borland International.
  5.  
  6.         DOMAIN DEFINITIONS
  7. ***********************************************************/
  8.  
  9. DOMAINS
  10.   EXP             = plus(EXP,EXP);
  11.             minus(EXP,EXP);
  12.             mult(EXP,EXP);
  13.             div(EXP,EXP);
  14.             power(EXP,EXP);
  15.             factorial(EXP);
  16.             conditional(EXP,EXP,EXP);
  17.             call(PROCID,PARMLIST);
  18.             var(STRING);
  19.             neg(EXP);
  20.             int(INTEGER);
  21.             real(REAL);
  22.             str(STRING);
  23.             char(CHAR)
  24.  
  25.   PARMLIST        = EXP*
  26.  
  27.   SENT            = ifthenelse(EXP,SENT,SENT);
  28.             ifthen(EXP,SENT);
  29.             while(EXP,SENT);
  30.             goto_line(INTEGER);
  31.             goto_lbl(STRING)
  32.  
  33.  
  34.   TOK          = plus();
  35.             minus();
  36.             mult();
  37.             div();
  38.             power();
  39.             exclmmark();
  40.             questionmark();
  41.             colon();
  42.             id(STRING);
  43.             lpar();
  44.             rpar();
  45.             int(INTEGER);
  46.             real(REAL);
  47.             str(STRING);
  48.             char(CHAR);
  49.             if_();
  50.             then();
  51.             else();
  52.             while();
  53.             do();
  54.             goto();
  55.             comma;
  56.             nill
  57.  
  58.