/usr/share/highlight/langDefs/miranda.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 | -- Language definition generated by lang2to3
Description="Miranda"
Identifiers=[[ [a-z][a-zA-Z0-9_']* ]]
Keywords={
{ Id=1,
List={"abstype", "div", "if", "mod", "otherwise", "readvals", "show", "type", "where", "with", "sys_message", "False", "True", "Appendfile", "Closefile", "Exit", "Stderr", "Stdout", "System", "Tofile", "abs", "and", "arctan", "cjustify", "code", "concat", "const", "converse", "cos", "decode", "digit", "drop", "dropwhile", "entier", "error", "exp", "filemode", "filter", "foldl", "foldl1", "foldr", "foldr1", "force", "fst", "getenv", "hd", "hugenum", "id", "index", "init", "integer", "iterate", "last", "lay", "layn", "letter", "limit", "lines", "ljustify", "log", "log10", "map", "map2", "max", "max2", "member", "merge", "min", "min2", "mkset", "neg", "numval", "or", "pi", "postfix", "product", "read", "rep", "repeat", "reverse", "rjustify", "scan", "seq", "showfloat", "shownum", "showscaled", "sin", "snd", "sort", "spaces", "sqrt", "subtract", "sum", "system", "take", "takewhile", "tinynum", "tl", "transpose", "undef", "until", "zip2", "zip3", "zip4", "zip5", "zip6", "zip"},
},
{ Id=2,
List={"num", "char", "bool"},
},
{ Id=4, -- Regex which renders type declarations on one line using `::', `==' and `::='
Regex=[[(\s*[a-zA-Z][a-zA-Z0-9_']*\s*.*\s*::\s+.*|\s*[a-zA-Z][a-zA-Z0-9_']*\s*[\* ]*\s*==\s+.*|\s*[a-zA-Z][a-zA-Z0-9_']*\s*[\* ]*\s*::=\s+.*)]],
},
}
Strings={
Delimiter=[["]],
}
IgnoreCase=false
Comments={
{ Block=false,
Delimiter= { [[\|\|]] },
},
}
PreProcessor={
Prefix=[[%]],
}
Operators=[[\(|\)|\[|\]|\.|\,|\;|\:|\&|\<|\>|\!|\=|\/|\*|\%|\+|\-|\~|\^]]
--FIXME no default escchar param: regex(\\\d{3}|\\x\p{XDigit}{2}|\\[ntvbrfa\\\?'"])
|