"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/r.lang" (12 May 2020, 549 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 Description="R"
    2 
    3 Categories = {"source", "scientific"}
    4 
    5 Identifiers=[[ [a-zA-Z_\.][\w]* ]]
    6 
    7 Keywords={
    8   { Id=1,
    9     List={"if", "else", "repeat", "while", "function", "for", "in", "next", "break", "ifelse", "switch"},
   10   },
   11   { Id=2,
   12     List={"NULL", "NA", "Inf", "NaN", "TRUE", "T", "FALSE", "F"},
   13   },
   14   { Id=4,
   15     Regex=[[([\w+_\.]+)\s*\(]],
   16   }
   17 }
   18 
   19 Strings={
   20   Delimiter=[["|']],
   21 }
   22 
   23 Comments={
   24   { Block=false,
   25     Delimiter= { [[#]] },
   26   },
   27 }
   28 
   29 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]]
   30 
   31 EnableIndentation=true