"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/dylan.lang" (12 May 2020, 1273 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.

    1 
    2 Description="Dylan"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    7   { Id=1,
    8     List={"interface", "library", "macro", "method", "class", "function",
    9         "cleanup", "block", "afterwards", "end", "", "constant", "variable", "generic",
   10         "primary", "begin", "method", "above", "below", "from", "by", "in", "instance",
   11         "local", "", "slot", "subclass", "then", "to", "virtual", "if", "when",
   12         "select", "case", "else", "elseif", "unless", "finally", "otherwise", "",
   13         "then", "for", "until", "while", "from", "to", "define", "let", "otherwise",
   14         "finally", "exception", "handler", "signal", "import", "rename", "create",
   15         "use", "export", "exclude", "abstract", "concrete", "primary", "inherited",
   16         "inline", "open", "sealed", "domain", "singleton"},
   17   },
   18   { Id=1,
   19     Regex=[[<!?\/?\w+>?|>]],
   20   },
   21   { Id=2,
   22     Regex=[[([-\w]+)="]],
   23   },
   24   { Id=2,
   25     List={"module", "synopsis", "author", "copyright"}
   26   },
   27   { Id=3,
   28     Regex=[[\&\#?\w+;]],
   29   },
   30   { Id=4,
   31     Regex=[[(\w+)\s*\(]],
   32   },
   33 }
   34 
   35 Strings={
   36   Delimiter=[["|']],
   37 }
   38 
   39 Comments={
   40   { Block=false,
   41     Delimiter= { [[//]] },
   42   },
   43   { Block=true,
   44     Nested=false,
   45     Delimiter= { [[\/\*]],[[\*\/]],}
   46   }
   47 }
   48 
   49 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|\!|\=|\/|\*|\%|\+|\-]]