HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/highlight/langDefs/mod3.lang
Description="Modula3"

Keywords={
  { Id=1,
    List={"and", "do", "from", "not",  "repeat", 
      "until", "any","else", "generic","object", "return", 
      "untraced", "array","elsif","if","of","reveal", 
      "value", "as", "end",  "import", "or","root",
      "var", "begin","eval", "in","overrides","set", 
        "while", "bits", "except", "interface","procedure","then",
        "with", "branded","exception","lock", "raise","to", "by",  
      "exit", "loop", "raises", "try", "case", 
      "exports","methods","readonly", "type", "const","finally",
      "mod",  "record", "typecase", "div","for",  "module",  
      "ref",  "unsafe"},
  },
  { Id=2,
    List={"abs","bytesize","extended",  "integer", "min",
      "number", "text", "address","cardinal","false","istype",
      "mutex","ord","true", "adr","ceiling", "first","last",  
      "narrow",  "real", "trunc", "adrsize","char","float",
      "longreal","new","refany", "typecode", "bitsize","dec", 
      "floor","loophole","nil","round","val", "boolean",
      "dispose", "inc","max", "null", "subarray"},
  },
  { Id=4,
      Regex=[[(\w+)\s*\(]],
  },
}

Strings={
  Delimiter=[["|']],
}

IgnoreCase=true

Comments={
  { Block=false,
 Delimiter= { [[\/\/]] },
  },
  { Block=true,
 Nested=false,
 Delimiter= { [[\(\*]],[[\*\)]],}
  }
}

Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.]]