home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / euphoria / keywords.e < prev    next >
Text File  |  1993-12-15  |  959b  |  24 lines

  1. --            Euphoria keywords and builtins
  2.  
  3. -- N.B. the order of the keywords and builtins below
  4. -- corresponds to the equivalent single-byte scanner tokens 
  5. -- emitted by the shrouder. Do not reorder them.
  6.  
  7. global constant keywords = {
  8.     "if", "end", "then", "procedure", "else", "for", "return",
  9.     "do", "elsif", "while", "type", "constant", "to", "and", "or",
  10.     "exit", "function", "global", "by", "not", "include",
  11.     "with", "without", "profile"}
  12.  
  13. global constant builtins = {
  14.     "length", "puts", "integer", "sequence", "position", "object",
  15.     "append", "prepend", "print", "printf",
  16.     "clear_screen", "floor", "getc", "gets", "get_key",
  17.     "rand", "repeat", "atom", "compare", "find", "match",
  18.     "time", "command_line", "open", "close", "trace", "getenv",
  19.     "sqrt", "sin", "cos", "tan", "log", "system", "date", "remainder",
  20.     "power", "machine_func", "machine_proc", "abort", "peek", "poke", 
  21.     "call"}
  22.  
  23.  
  24.