/usr/share/highlight/langDefs/julia.lang is in highlight-common 3.41-1.
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 40 41 42 43 44 45 46 47 48 49 50 | Description="Julia"
Keywords={
{ Id=1,
List={
"function", "global", "for", "end", "while", "if", "else", "elseif", "break",
"switch", "case", "otherwise", "try", "catch", "const", "immutable",
"import", "importall", "export", "type", "typealias", "return", "true",
"false", "macro", "quote", "in", "abstract", "module", "using", "continue",
"ifelse", "do", "eval", "let", "finally", "throw", "struct", "where", "new", "primitive", "isa"
}
},
{ Id=2,
List={
"Int8", "UInt8", "Int16", "UInt16", "Int32", "UInt32", "Int64", "UInt64",
"Int128", "UInt128", "Float16", "Float32", "Float64", "Any", "Number",
"Real", "AbstractFloat", "Integer", "Signed", "Unsigned"
}
},
{ Id=3,
Regex=[[@\w+]]
},
{ Id=4,
Regex=[[(\w+)!?\s*\( ]]
},
{ Id=4,
Regex=[[function\s+(\w+)\s*\{ ]]
}
}
Strings = {
Delimiter=[["""|"|`]],
Escape=[=[\\[ntvbrfa\\\?'"]|\\u\d+]=],
Interpolation=[[ [%$]\w+|\$\(.+?\) ]],
}
Comments = {
{ Block=true,
Nested=false,
Delimiter = { [[#=]], [[=#]] } },
{
Block=false,
Delimiter = { [[#]] }
}
}
IgnoreCase=false
Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\$|\?|\||\^]]
|