/usr/share/highlight/langDefs/ascend.lang is in highlight-common 3.8-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | -- FIXME omitted definition of $STRING_UNEQUAL
-- Language definition generated by lang2to3
Description="ASCEND"
Keywords={
{ Id=1,
List={"ADD", "AND", "ALIASES", "ARE_ALIKE", "ARE_THE_SAME", "ARE_NOT_THE_SAME", "ASSERT", "ATOM", "CALL", "CASE", "CARD", "CHECK", "CHOICE", "CONSTANT", "CONDITIONAL", "CREATE", "DATA", "DEFAULT", "DEFINITION", "DO", "ELSE", "FIX", "FOR", "FREE", "IF", "IN", "INPUT", "INTERSECTION", "IS_A", "IS_REFINED_TO", "MAX", "MAXIMIZE", "MIN", "MINIMIZE", "NOTES", "OF", "OR", "OTHERWISE", "OUTPUT", "PROVIDE", "PROD", "REPLACE", "REFINES", "RUN", "SATISFIED", "SELECT", "SELF", "STUDY", "SUCH_THAT", "SUM", "SWITCH", "THEN", "UNIVERSAL", "UNION", "UNITS", "USE", "WHEN", "WHERE", "WITH_VALUE", "WILL_BE", "WILL_BE_THE_SAME", "WILL_NOT_BE_THE_SAME"},
},
{ Id=2,
List={"FALSE", "TRUE", "real_constant", "integer_constant", "symbol_constant", "boolean_constant", "real", "integer", "symbol", "boolean", "set"},
},
{ Id=3,
List={"IMPORT", "REQUIRE", "MODEL", "END", "METHOD", "METHODS"},
},
{ Id=4,
Regex=[[(\w+)\s*\(]],
},
}
Strings={
Delimiter=[[']],
DelimiterPairs= {
{ Open=[[ \{ ]], Close=[[ \} ]] }
}
}
Comments={
{ Block=true,
Nested=false,
Delimiter= { [[\(\*]],[[\*\)]] }
}
}
IgnoreCase=false
Operators=[[\(|\)|\[|\]|\,|\;|\.|\:|\&|\<|\>|\!|\=|\/|\*|\%|\+|\-|\~]]
EnableIndentation=true
|