1Description="R"
2
3Categories = {"source", "scientific"}
4
5Identifiers=[[ [a-zA-Z_\.][\w]* ]]
6
7Keywords={
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
19Strings={
20  Delimiter=[["|']],
21}
22
23Comments={
24  { Block=false,
25    Delimiter= { [[#]] },
26  },
27}
28
29Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]]
30
31EnableIndentation=true
32