"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/smalltalk.lang" (12 May 2020, 834 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 "smalltalk.lang": 3.53_vs_3.54.

    1 
    2 Description="Smalltalk"
    3 
    4 -- Syntax file created by Joerg Walter
    5 
    6 Categories = {"source", "functional"}
    7 
    8 Digits=[[ (?:0x|0X)[0-9a-fA-F]+|\d*[\.]?\d+(?:[eE][\-\+]\\d+)?[lLuU]?|\$[\w\$\#\'\-\:\>\<] ]]
    9 
   10 Keywords={
   11   { Id=1,
   12     List={"self", "super", "nil", "true", "false", "thisContext"},
   13   },
   14   { Id=2,
   15     Regex=[[\b[a-z]\w*:(?!=)|(?<= )(?<!  )(?<!\[ )(?<!\| )(?<!= )(?<!. )(?<!: )(?<!\* )(?<!- )(?<!\+ )(?<!/ )[a-z]\w*\b|[\-+/*=]|==|[<>]=|^\s*[a-z]\w+\s*$]],
   16   },
   17   { Id=3,
   18     Regex=[[\b[A-Z]\w*\b]],
   19   },
   20   { Id=4,
   21     Regex=[[#[a-zA-Z0-9_:]+|#[\-+/*]|(?<= ):\w*\b|(?<=\[):\w*\b|\| *\w+(?: +\w+)* *\|]],
   22   },
   23 }
   24 
   25 Strings={
   26   Delimiter=[[']],
   27 
   28 }
   29 
   30 IgnoreCase=false
   31 
   32 Comments={
   33   { Block=true,
   34     Nested=false,
   35     Delimiter= { [["]],[["]]}
   36   }
   37 }
   38 
   39 Operators=[[\:|\=|\.|\;|\(|\)|\[|\]|\^|\#|\!|\$|\%|\{|\}]]
   40 
   41 EnableIndentation=false
   42