"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/pyrex.lang" (12 May 2020, 1738 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="Pyrex"
    3 
    4 Categories = {"source", "script"}
    5 
    6 
    7 Keywords={
    8   { Id=1,
    9     List={"global", "nextgroup", "pythonfunction", "skipwhite", "contained",
   10         "chr", "cmp", "coerce", "compile", "complex", "delattr", "dir", "divmod",
   11         "eval", "execfile", "filter", "getattr", "globals", "hasattr", "hash", "hex",
   12         "id", "input", "intern", "isinstance", "issubclass", "len", "list", "locals",
   13         "long", "map", "max", "min", "oct", "open", "ord", "pow", "range", "raw_input",
   14         "reduce", "reload", "repr", "round", "setattr", "slice", "str", "tuple", "type",
   15         "vars", "xrange", "apply", "sizeof", "abs", "callable", "exec"},
   16   },
   17   { Id=2,
   18     List={"import", "from", "self", "public", "extern", "struct", "as", "break",
   19         "continue", "del", "except", "finally", "pass", "print", "raise", "return",
   20         "lambda", "class", "try", "assert", "def", "for", "while", "if", "elif", "else",
   21         "and", "in", "is", "not", "or", "cdef", "ctypedef"},
   22   },
   23   { Id=3,
   24     List={"arithmeticerror", "assertionerror", "attributeerror", "eoferror",
   25         "exception", "floatingpointerror", "ioerror", "importerror", "indexerror",
   26         "keyerror", "keyboardinterrupt", "lookuperror", "memoryerror", "nameerror",
   27         "notimplementederror", "oserror", "overflowerror", "runtimeerror",
   28         "standarderror", "syntaxerror", "systemerror", "systemexit", "typeerror",
   29         "valueerror", "zerodivisionerror", "environmenterror", "void", "char", "int",
   30         "float", "object"},
   31   },
   32 }
   33 
   34 Strings={
   35   Delimiter=[["""|'''|"|']],
   36   RawPrefix="r",
   37 }
   38 
   39 IgnoreCase=true
   40 
   41 Comments={
   42   { Block=false,
   43     Delimiter= { [[#]] },
   44   },
   45 }
   46 
   47 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]