1 2Description="Ceylon" 3 4Categories = {"source"} 5 6Keywords={ 7 { Id=1, 8 List={ 9 "assembly", "module", "package", "import", "alias", "class", 10 "interface", "object", "given", "value", "assign", "void", "function", "new", 11 "of", "extends", "satisfies", "abstracts", "in", "out", "return", "break", 12 "continue", "throw", "assert", "dynamic", "if", "else", "switch", "case", "for", 13 "while", "try", "catch", "finally", "then", "let", "this", "outer", "super", 14 "is", "exists", "nonempty"} 15 }, 16 { Id=2, 17 List= { "shared", "formal", "abstract", "actual", "variable" 18 } 19 }, 20 { Id=3, 21 List= { "String", "Integer", "Float", "Boolean", "Element", "Object", "Decimal", "Whole", "List" 22 } 23 }, 24 { Id=4, 25 Regex=[[(\w+)\s*\(]] 26 } 27} 28 29Strings = { 30 Delimiter=[["""|"|']], 31 RawPrefix="R", 32 Interpolation=[[ ``[\w\(\)]+?``|\\\{[^}]+\} ]], 33} 34 35Comments = { 36 { Block=true, 37 Nested=false, 38 Delimiter = { [[\/\*]], [[\*\/]] } 39 }, 40 { 41 Block=false, 42 Delimiter = { [[//|\#\!]] } 43 } 44} 45 46IgnoreCase=false 47 48Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\||\?]] 49 50Digits=[[ [\d\.\_]*\d+(?:[eE][\-\+]?\d+)?[kMGTPmunpf]*|#[[:alnum:]\_]+|\$[01_]+ ]] 51 52EnableIndentation=true 53