"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/rexx.lang" (12 May 2020, 4070 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "rexx.lang": 3.56_vs_3.57.

    1 
    2 Description="Rexx"
    3 
    4 Categories = {"source", "script"}
    5 
    6 Digits=[[ (?:0x|0X)[0-9a-fA-F]+|\d+[\.]?\d*(?:[eE][\-\+]?\d+)?[lLuU]*  ]]
    7 
    8 Keywords={
    9   { Id=1,
   10     List={"address", "additional", "any", "arg", "arguments", "array", "by",
   11     "call", "caseless", "continue", "class", "description", "digits", "do", "drop",
   12     "end", "engineering", "error", "exit", "expose", "else", "failure", "for",
   13     "forever", "form", "forward", "fuzz", "guard", "halt", "if", "interpret",
   14     "iterate", "leave", "lower", "lostdigits", "message", "name", "nop", "nomethod",
   15     "nostring", "notready", "novalue", "numeric", "on", "off", "otherwise", "parse",
   16     "procedure", "pull", "push", "propagate", "queue", "raise", "reply", "return",
   17     "ret", "rc", "result", "say", "scientific", "select", "sigl", "signal",
   18     "source", "syntax", "then", "to", "trace", "upper", "until", "use", "user",
   19     "version", "when", "while", "with"},
   20   },
   21   { Id=2,
   22     List={"abbrev", "abs", "append", "beep", "binary", "bitand", "bitor",
   23     "bitxor", "both", "b2x", "center", "centre", "changestr", "char", "charin",
   24     "charout", "chars", "compare", "condition", "copies", "countstr", "close",
   25     "c2d", "c2x", "datetime", "datatype", "date", "delstr", "delword", "directory",
   26     "d2c", "d2x", "errortext", "exists", "filespec", "flush", "format", "handle",
   27     "insert", "lastpos", "left", "length", "line", "linein", "lineout", "lines",
   28     "max", "min", "nobuffer", "open", "overlay", "pos", "position", "queued",
   29     "query", "random", "reclength", "read", "replace", "reverse", "right", "seek",
   30     "sign", "size", "shared", "shareread", "sharewrite", "sourceline", "space",
   31     "stream", "streamtype", "strip", "subword", "substr", "symbol", "sys", "time",
   32     "timestamp", "translate", "trunc", "var", "value", "verify", "word",
   33     "wordindex", "wordlength", "wordpos", "words", "write", "xrange", "x2b", "x2c",
   34     "x2d","pid", "pprio", "ptime", "rxfuncadd", "rxfuncdrop", "rxfuncquery",
   35     "rxqueue", "rxmessagebox", "rxwinexec", "sysaddrexxmacro", "sysbootdrive",
   36     "sysclearrexxmacrospace",
   37     "syscloseeventsem", "sysclosemutexsem", "syscls", "syscreateeventsem",
   38     "syscreatemutexsem", "syscurpos", "syscurstate", "sysdriveinfo", "sysdrivemap",
   39     "sysdropfuncs", "sysdroprexxmacro", "sysdumpvariables", "sysfiledelete",
   40     "sysfilesearch", "sysfilesystemtype", "sysgetfiledatetime", "sysfiletree",
   41     "sysgetkey", "sysini", "sysloadfuncs", "sysloadrexxmacrospace", "sysmkdir",
   42     "sysopeneventsem", "sysopenmutexsem", "sysposteventsem", "syspulseeventsem",
   43     "sysqueryprocess", "sysqueryrexxmacro", "sysreleasemutexsem",
   44     "sysreorderrexxmacro", "sysrequestmutexsem", "sysreseteventsem", "sysrmdir",
   45     "syssaverexxmacrospace", "syssearchpath", "syssetfiledatetime",
   46     "syssetpriority", "syssleep", "sysstemcopy", "sysstemdelete", "syssteminsert",
   47     "sysstemsort", "sysswitchsession", "syssystemdirectory", "systempfilename",
   48     "systextscreenread", "systextscreensize", "sysutilversion", "sysvolumelabel",
   49     "syswaiteventsem", "syswaitnamedpipe", "sysversion", "syswinver"},
   50   },
   51   { Id=3,
   52     List={"externals", "find", "getmsg", "index", "justify", "linesize",
   53     "listdsi", "msg", "mvsvar", "outtrap", "prompt", "setlang", "storage",
   54     "syscpus", "sysdsn", "sysvar", "userid", "dbadjust", "dbbracket", "dbcenter",
   55     "dbcjustify", "dbcs", "dbleft", "dbright", "dbrleft", "dbrright", "dbtodbcs",
   56     "dbtosbcs", "dbunbracket", "dbvalidate", "dbwidth", "delstack", "dropbuf",
   57     "execio", "executil", "he", "hi", "ht", "makebuf", "newstack", "qbuf", "qelem",
   58     "qstack", "rt", "subcom", "te", "ts"},
   59   },
   60   { Id=4,
   61     Regex=[[(\w+)\s*\:]],
   62   },
   63 }
   64 
   65 Strings={
   66   Delimiter=[["|']],
   67   Escape=[[\A(?!x)x]]
   68   -- see http://stackoverflow.com/questions/1723182/a-regex-that-will-never-be-matched-by-anything
   69 }
   70 
   71 IgnoreCase=true
   72 
   73 Comments={
   74   {
   75     Block=false,
   76     Delimiter= { [[\-\-|\#!]] },
   77   },
   78   { Block=true,
   79     Nested=false,
   80     Delimiter= { [[\/\*]],[[\*\/]],}
   81   }
   82 }
   83 
   84 Operators=[[\(|\)|\[|\]|\.|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\||\@|\?|\#]]
   85