"Fossies" - the Fresh Open Source Software Archive

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

    1 
    2 Description="Nemerle"
    3 
    4 Categories = {"source"}
    5 
    6 Digits=[[ (?:0x|0X)[0-9a-fA-F]+|\d*[\.\_]?\d+(?:[eE][\-\+]\d+)?[lLuUbfdm]* ]]
    7 
    8 Keywords={
    9   { Id=1,
   10     List={"_", "abstract", "and", "array", "as", "base", "catch", "class",
   11             "def", "delegate", "do", "else", "enum", "event", "extern", "finally", "for",
   12             "foreach", "fun", "if", "implements", "in", "interface", "internal", "lock",
   13             "macro", "match", "module", "mutable", "namespace", "new", "out", "override",
   14             "params", "private", "protected", "public", "ref", "sealed", "static", "struct",
   15             "syntax", "this", "throw", "try", "type", "typeof", "unless", "using",
   16             "variant", "virtual", "void", "when", "where", "while", "assert", "ignore"},
   17   },
   18   { Id=2,
   19     List={"array", "float", "int", "string", "void", "uint", "long", "ulong", "short",
   20             "decimal", "byte", "sbyte", "ushort", "double", "list"},
   21   },
   22   { Id=3,
   23     List={"true", "false", "null"},
   24   },
   25   { Id=4,
   26     Regex=[[(\w+)\s*\(]],
   27   },
   28 }
   29 
   30 Strings={
   31   Delimiter=[["|']],
   32   RawPrefix="@",
   33   Interpolation=[[ %\w|\$\w+|\{\d\} ]],
   34 }
   35 
   36 IgnoreCase=false
   37 
   38 Comments={
   39   { Block=false,
   40     Delimiter= { [[\/\/]] },
   41   },
   42   { Block=true,
   43     Nested=false,
   44     Delimiter= { [[\/\*]],[[\*\/]],}
   45   }
   46 }
   47 
   48 PreProcessor={
   49   Prefix=[[#]],
   50 }
   51 
   52 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\.|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\|]]