"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/miranda.lang" (12 May 2020, 1760 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 "miranda.lang": 3.53_vs_3.54.

    1 
    2 Description="Miranda"
    3 
    4 -- Syntax file created by Peter Bartke
    5 
    6 Categories = {"source"}
    7 
    8 
    9 Identifiers=[[ [a-z][a-zA-Z0-9_']* ]]
   10 
   11 Keywords={
   12   { Id=1,
   13     List={"abstype", "div", "if", "mod", "otherwise", "readvals", "show",
   14         "type", "where", "with", "sys_message", "False", "True", "Appendfile",
   15         "Closefile", "Exit", "Stderr", "Stdout", "System", "Tofile", "abs", "and",
   16         "arctan", "cjustify", "code", "concat", "const", "converse", "cos", "decode",
   17         "digit", "drop", "dropwhile", "entier", "error", "exp", "filemode", "filter",
   18         "foldl", "foldl1", "foldr", "foldr1", "force", "fst", "getenv", "hd", "hugenum",
   19         "id", "index", "init", "integer", "iterate", "last", "lay", "layn", "letter",
   20         "limit", "lines", "ljustify", "log", "log10", "map", "map2", "max", "max2",
   21         "member", "merge", "min", "min2", "mkset", "neg", "numval", "or", "pi",
   22         "postfix", "product", "read", "rep", "repeat", "reverse", "rjustify", "scan",
   23         "seq", "showfloat", "shownum", "showscaled", "sin", "snd", "sort", "spaces",
   24         "sqrt", "subtract", "sum", "system", "take", "takewhile", "tinynum", "tl",
   25         "transpose", "undef", "until", "zip2", "zip3", "zip4", "zip5", "zip6", "zip"},
   26   },
   27   { Id=2,
   28     List={"num", "char", "bool"},
   29   },
   30   { Id=4, -- Regex which renders type declarations on one line using `::', `==' and `::='
   31     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+.*)]],
   32   },
   33 }
   34 
   35 Strings={
   36   Delimiter=[["]],
   37 }
   38 
   39 IgnoreCase=false
   40 
   41 Comments={
   42   { Block=false,
   43     Delimiter= { [[\|\|]] },
   44   },
   45 }
   46 
   47 PreProcessor={
   48   Prefix=[[%]],
   49 }
   50 
   51 Operators=[[\(|\)|\[|\]|\.|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\^]]