"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/oberon.lang" (12 May 2020, 1036 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.

    1 
    2 Description="Oberon"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    7   { Id=1,
    8     List={"ARRAY", "BEGIN", "CASE", "CONST", "DIV", "DO", "ELSE", "ELSIF", "END",
    9           "EXIT", "IF", "IMPORT", "IN", "IS", "LOOP", "MOD", "MODULE", "NIL",
   10           "OF", "OR", "", "PROCEDURE", "RECORD", "REPEAT", "RETURN", "THEN", "TO",
   11           "TYPE", "UNTIL", "VAR", "WHILE", "WITH", "ABS", "ODD", "CAP", "ASH",
   12           "LEN", "MAX", "MIN", "SIZE", "ORD", "CHR", "SHORT", "LONG", "ENTIER",
   13           "INC", "DEC", "INCL", "EXCL", "COPY", "NEW", "HALT", "ADR", "BIT",
   14           "CC", "LSH", "ROT", "VAL", "GET", "PUT", "MOVE", "NEW", "FOR"},
   15   },
   16   { Id=2,
   17     List={"BOOLEAN", "CHAR", "SHORTINT", "INTEGER", "LONGINT", "REAL",
   18           "LONGREAL", "SET", "ARRAY", "RECORD", "POINTER", "BYTE"},
   19   },
   20   { Id=4,
   21     Regex=[[(\w+)\s*\(]],
   22   },
   23 }
   24 
   25 Strings={
   26   Delimiter=[["]],
   27 }
   28 
   29 Comments={
   30   { Block=true,
   31     Nested=false,
   32     Delimiter= { [[\(\*]],[[\*\)]],}
   33   }
   34 }
   35 
   36 IgnoreCase=false
   37 
   38 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\.|\+|\-|\#]]