home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv7.zip / VACPP / IBMCPP / macros / EVFLCL.DAT < prev    next >
Text File  |  1995-05-11  |  3KB  |  102 lines

  1.  
  2. *******************************************************************************
  3. *                                                                             *
  4. * PRCL - A Simple LPEX Parser for Command Language (CL)                       *
  5. *                                                                             *
  6. *******************************************************************************
  7. *                                                                             *
  8. * This file contains a list of the Pascal key words and language symbols      *
  9. * that will be identified by the simple Pascal Parser.  It can easily be      *
  10. * modified to tailor the parser to the exact version of Pascal required.      *
  11. *                                                                             *
  12. *******************************************************************************
  13. *                                                                             *
  14. * The format of this file is:                                                 *
  15. *                                                                             *
  16. *   Blank lines or lines with a '*' in column 1 are comments and are ignored. *
  17. *                                                                             *
  18. *   The first set of non-comment lines is the key-word table, the second set  *
  19. *   is the table of built-in functions and procedures and the third set the   *
  20. *   language symbols.  Comments or blanks lines are not allowed in the        *
  21. *   tables.                                                                   *
  22. *                                                                             *
  23. *                                                                             *
  24. *******************************************************************************
  25. *                                                                             *
  26. *                    (C) Copyright IBM Corporation 1993                       *
  27. *                                                                             *
  28. *******************************************************************************
  29.  
  30.  
  31. *
  32. * First the key-word table.  This must be arranged in ascending ASCII order.
  33. *
  34.  
  35.   CALL
  36.   CHGVAR
  37.   DCL
  38.   DCLF
  39.   DO
  40.   ELSE
  41.   ENDDO
  42.   ENDPGM
  43.   GOTO
  44.   IF
  45.   PGM
  46.   RETURN
  47.   TFRCTL
  48.  
  49. *
  50. * Second the control keyword table.  This must be arranged in ascending ASCII order.
  51. *
  52.  
  53.   DO
  54.   ELSE
  55.   ENDDO
  56.   GOTO
  57.   IF
  58.  
  59.  
  60. *
  61. * Lastly the list of language symbols.  There are arranged in ascending ASCII
  62. * order of the first character.  Then in order of length, longest first.
  63. *
  64. * Note: Don't start these in column 1, or the '*' symbol would be taken as
  65. *       a comment!
  66. *
  67.  
  68.    !!
  69.    !<
  70.    !>
  71.    !
  72.    &
  73.    (
  74.    )
  75.    *
  76.    +
  77.    ,
  78.    -
  79.    .
  80.    /
  81.    :
  82.    ;
  83.    <=
  84.    <
  85.    =
  86.    >=
  87.    >
  88.    ?
  89.    ^<
  90.    ^=
  91.    ^>
  92.    ^
  93.    |<
  94.    |>
  95.    ||
  96.    |
  97.    ¬<
  98.    ¬=
  99.    ¬>
  100.    ¬
  101.  
  102.