"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/wren.lang" (12 May 2020, 844 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="Wren"
    3 
    4 Categories = {"source"}
    5 
    6 Digits = [[ \d+[\.]?\d+|\d\d* ]]
    7 
    8 Keywords={
    9   { Id=1,
   10     List={
   11       "break", "class", "construct", "else", "for", "foreign", "if", "import",
   12       "in", "is", "return", "static", "super", "this", "var", "while",
   13     }
   14   },
   15   { Id=2,
   16     List= {
   17       "null", "true", "false"
   18       }
   19   },
   20   { Id=3,
   21     Regex=[[_\w+]]
   22   },
   23   { Id=4,
   24     Regex=[[(\w+)\s*\(]]
   25   }
   26 }
   27 
   28 Strings = {
   29   Delimiter=[["]],
   30   Interpolation = [[ %\([^(]+?\) ]],
   31   Escape = [[ \\[0%\\\"abfnrtv]|\\U[0-9a-fA-F]{8}|\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2} ]]
   32 }
   33 
   34 Comments = {
   35   { Block=true,
   36     Nested=true,
   37     Delimiter = { [[\/\*]], [[\*\/]] }
   38   },
   39   {
   40     Block=false,
   41     Delimiter = { [[//]] }
   42   }
   43 }
   44 
   45 IgnoreCase=false
   46 
   47 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\||\^|\?]]
   48 
   49 EnableIndentation=true