"Fossies" - the Fresh Open Source Software Archive

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

    1 
    2 Description="Arc"
    3 
    4 -- Syntax file created by Pierre Larochelle
    5 
    6 Categories = {"source"}
    7 
    8 Identifiers=[[ [a-zA-Z_][\w\-\/]* ]]
    9 
   10 Keywords={
   11     { Id=1,
   12       List={"def", "defhook", "defmem", "defop", "defops", "defset", "deftem", "mac"},
   13       },
   14     { Id=2,
   15       List={"drain", "each", "for", "forlen", "loop", "noisy-each", "on", "ontable", "while", "whiler", "whilet", "until"},
   16       },
   17     { Id=3,
   18       List={"case", "caselet", "check", "if", "iflet", "when", "whenlet", "unless"},
   19       },
   20     { Id=4,
   21       List={"aand", "abs", "accum", "acons", "addtem", "adjoin", "afn", "after",
   22             "aif", "alist", "all", "alphadig", "alref", "and", "andf", "annotate", "apply",
   23             "assert", "assoc", "atend", "atlet", "atom", "atomic", "atomic-invoke",
   24             "atwith", "atwiths", "avg", "awhen", "bar*", "before", "begins", "best",
   25             "bestn", "blank", "bound", "break-threadcaar", "cache", "cadr", "call-w/stdin",
   26             "call-w/stdout", "car", "carif", "caris", "catch", "ccc", "cddr", "cdr",
   27             "client-ip", "close", "coerce", "commonest", "compare", "complement", "compose",
   28             "consif", "conswhen", "copy", "count", "counts", "current-gc-milliseconds",
   29             "current-process-milliseconds", "cut", "date", "days-since", "dead", "dedup",
   30             "deq", "details", "dir", "dir-exists", "disp", "do", "do1", "dotted",
   31             "downcase", "ellipsize", "empty", "endmatch", "enq", "enq-limit", "ensure-dir",
   32             "ero", "err", "errsafe", "eval", "even", "exact", "expand-metafn-call",
   33             "expand=", "expand=list", "expt", "file-exists", "fill-table", "find",
   34             "findsubseq", "firstn", "firstn-that", "flat", "fn", "for", "forlen",
   35             "fromstring", "headmatch", "hook", "hooks*", "hours-since", "idfn", "in",
   36             "infile", "insert-sorted", "inside", "insort", "insortnew", "inst", "instring",
   37             "intersperse", "is", "isa", "isnt", "iso", "join", "jtime", "keep", "keys",
   38             "kill-thread", "last", "len", "len<", "len>", "let", "list", "listtab",
   39             "litmatch", "load", "load-table", "load-tables", "macex", "macex1", "map",
   40             "map1", "mappend", "maptable", "max", "median", "mem", "memo", "memtable",
   41             "merge", "mergesort", "metafn", "min", "mismatch", "mod", "most", "msec",
   42             "multiple", "multisubst", "n-of", "new-thread", "newstring", "no",  "nonwhite",
   43             "nor", "nthcdr", "num", "number", "obj", "odd", "on-err", "only", "ontree",
   44             "open-socket", "or", "orf", "outfile", "outstring", "pair", "parse-format",
   45             "peekc", "pipe-from", "plural", "point", "pop", "pos", "positive", "posmatch",
   46             "pr", "prall", "prf", "prn", "protect", "prs", "pull", "punc", "push",
   47             "pushnew", "qlen", "qlist", "quasiquote", "queue", "quit", "quote", "rand",
   48             "rand-choice", "rand-string", "random-elt", "range", "read", "read-table",
   49             "readall", "readb", "readc", "readfile", "readfile1", "readline", "readstring1",
   50             "reclist", "recstring", "reduce", "reinsert-sorted", "rem", "rep", "repeat",
   51             "rev", "rfn", "rmfile", "rotate", "round", "roundup", "rreduce",
   52             "safe-load-table", "saferead", "safeset", "save-table", "scar", "scdr",
   53             "seconds", "set", "setforms", "setter", "sig", "since", "single", "sleep",
   54             "socket-accept", "some", "sort", "split", "sqrt", "sread", "sref", "ssexpand",
   55             "ssyntax", "stderr", "stdin", "stdout", "string", "subst", "summing", "swap",
   56             "sym", "system", "table", "tablist", "temload", "temloadall", "templates*",
   57             "templatize", "temread", "testify", "thread", "time", "time10", "to-nearest",
   58             "tokens", "tostring", "trav", "tree-subst", "treewise", "trim", "trues",
   59             "trunc", "tuples", "type", "union", "uniq", "upcase", "urldecode", "vals",
   60             "w/appendfile", "w/bars", "w/infile", "w/instring", "w/outfile", "w/outstring",
   61             "w/socket", "w/stdin", "w/stdout", "w/table", "w/uniq", "warn", "whitec",
   62             "wipe", "with", "withs", "write", "write-table", "writeb", "writec",
   63             "writefile1", "zap"},
   64       },
   65     }
   66 
   67 Strings={
   68     Delimiter=[["]],
   69     }
   70 
   71 Comments={
   72     { Block=false,
   73       Delimiter= { [[;]] },
   74       },
   75     { Block=true,
   76       Nested=false,
   77       Delimiter= { [[\;\|]],[[\|\;]],}
   78     }
   79 }
   80 
   81 Operators=[[\(|\)|\[|\]|\{|\}|\,|\:|\&|<|>|\!|\+|\=|\/|\*|\']]