"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/mercury.lang" (12 May 2020, 1172 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "mercury.lang": 3.53_vs_3.54.

    1 
    2 Description="Mercury"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    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 
   32 Strings={
   33   Delimiter=[["|']],
   34 }
   35 
   36 IgnoreCase=false
   37 
   38 Comments={
   39   { Block=false,
   40     Delimiter= { [[%]] },
   41   },
   42 }
   43 
   44 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\|\+|\-|\~]]