"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/mod3.lang" (12 May 2020, 1436 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 "mod3.lang": 3.56_vs_3.57.

    1 
    2 Description="Modula3"
    3 
    4 Categories = {"source"}
    5 
    6 
    7 Keywords={
    8   { Id=1,
    9     List={"and", "do", "from", "not",  "repeat",
   10       "until", "any","else", "generic","object", "return",
   11       "untraced", "array","elsif","if","of","reveal",
   12       "value", "as", "end",  "import", "or","root",
   13       "var", "begin","eval", "in","overrides","set",
   14       "while", "bits", "except", "interface","procedure","then",
   15       "with", "branded","exception","lock", "raise","to", "by",
   16       "exit", "loop", "raises", "try", "case",
   17       "exports","methods","readonly", "type", "const","finally",
   18       "mod",  "record", "typecase", "div","for",  "module",
   19       "ref",  "unsafe"},
   20   },
   21   { Id=2,
   22     List={"abs","bytesize","extended",  "integer", "min",
   23       "number", "text", "address","cardinal","false","istype",
   24       "mutex","ord","true", "adr","ceiling", "first","last",
   25       "narrow",  "real", "trunc", "adrsize","char","float",
   26       "longreal","new","refany", "typecode", "bitsize","dec",
   27       "floor","loophole","nil","round","val", "boolean",
   28       "dispose", "inc","max", "null", "subarray"},
   29   },
   30   { Id=4,
   31       Regex=[[(\w+)\s*\(]],
   32   },
   33 }
   34 
   35 Strings={
   36   Delimiter=[["|']],
   37   Interpolation = [[ %\w ]]
   38 }
   39 
   40 IgnoreCase=true
   41 
   42 Comments={
   43   { Block=false,
   44     Delimiter= { [[\/\/]] },
   45   },
   46   { Block=true,
   47     Nested=false,
   48     Delimiter= { [[\(\*]],[[\*\)]],}
   49   }
   50 }
   51 
   52 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.|\#]]