1
2Description="Mercury"
3
4Categories = {"source"}
5
6Keywords={
7  { Id=1,
8    List={
9      "is", "and", "or", "func", "impure", "", "", "pred", "", "semipure",
10      "not", "when", "then", "if", "else", "where", "", "", "all", "arbitrary",
11      "promise_equivalent_solutions", "promise_equivalent_solution_sets",
12      "promise_exclusive", "promise_exclusive_exhaustive", "promise_exhaustive",
13      "promise_impure", "", "promise_impure_implicit", "promise_pure",
14      "promise_pure_implicit", "promise_semipure", "promise_semipure_implicit",
15      "some", "ype", "solver", "", "", "end_module", "import_module",
16      "include_module", "initialise", "initialize", "finalise", "finalize", "inst",
17      "instance", "mode", "module", "pragma", "", "", "promise", "", "rule",
18      "typeclass", "use_module", "interface", "implementation", "det"},
19  },
20  {
21    Id=2,
22    List={"div", "mod", "rem"},
23  },
24  { Id=3,
25    Regex=[[[A-Z]\w+]],
26  },
27  { Id=4,
28    Regex=[[(\w+)\s*\(]],
29  },
30}
31
32Strings={
33  Delimiter=[["|']],
34}
35
36IgnoreCase=false
37
38Comments={
39  { Block=false,
40    Delimiter= { [[%]] },
41  },
42}
43
44Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\|\+|\-|\~]]
45