"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/gambas.lang" (12 May 2020, 3037 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 "gambas.lang": 3.56_vs_3.57.

    1 
    2 Description="Gambas"
    3 
    4 Categories = {"source", "script"}
    5 
    6 Identifiers=[[ [a-zA-Z_][a-zA-Z_0-9]+\$? ]]
    7 
    8 Keywords={
    9   { Id=1,
   10     List={
   11       "abs", "dim", "ispunct", "replace$", "access", "dir", "isshort",
   12       "return", "acos", "div", "issingle", "right$", "acosh", "do", "isspace",
   13       "rinstr", "alloc", "else", "isstring", "rmdir", "and", "end", "isucase", "rnd",
   14       "and", "if", "end", "select", "kill", "rol", "ang", "end", "with", "labels",
   15       "ror", "append", "endif", "round", "eof", "last", "rtrim$", "error", "lcase$",
   16       "scan", "as", "error", "to", "left$", "sconv$", "asc", "eval", "len", "second",
   17       "asin", "event", "library", "seek", "asinh", "event", "loop", "like", "seek",
   18       "asl", "events", "declaration", "line", "input", "select", "asr", "exec",
   19       "link", "sgn", "exist", "shell", "exp", "shl", "atan", "exp10", "lock", "shr",
   20       "atan2", "exp2", "lof", "sin", "atanh", "expm", "log", "sinh", "bchg", "export",
   21       "log10", "sleep", "bclr", "extern", "log2", "space$", "bin$", "logp", "split",
   22       "break", "false", "loop", "sqr", "bset", "file", "&", "directory", "paths",
   23       "lsl", "stat", "btst", "finally", "lsr", "static", "case", "fix", "ltrim$",
   24       "step", "catch", "flush", "mag", "stop", "cbool", "for", "max", "stop", "event",
   25       "cbr", "for", "each", "me", "str$", "cbyte", "format$", "cdate", "frac", "mid$",
   26       "string$", "cfloat", "free", "min", "strptr", "choose", "function", "minute",
   27       "sub", "chr$", "global", "event", "handlers", "mkdir", "subst$", "cint", "goto",
   28       "mod", "super", "class", "hex$", "month", "swap", "clong", "hour", "move",
   29       "tan", "close", "hyp", "new", "tanh", "comp", "if", "next", "temp$",
   30       "comparison", "methods", "iif", "not", "then", "const", "in", "now", "time",
   31       "constant", "declaration", "inc", "null", "timer", "continue", "inherits",
   32       "open", "to", "conv$", "trim$", "copy", "input", "optional", "true", "cos",
   33       "input", "from", "or", "try", "cosh", "instr", "or", "if", "typeof", "create",
   34       "int", "output", "ucase$", "create", "private", "is", "output", "to", "unlock",
   35       "create", "static", "isascii", "pi", "until", "cshort", "isblank", "pipe",
   36       "csng", "isboolean", "print", "cstr", "isbyte", "private", "val", "cvariant",
   37       "isdate", "procedure", "datatypes", "isdigit", "property", "wait", "date",
   38       "isdir", "property", "declaration", "watch", "dateadd", "isfloat", "public",
   39       "week", "datediff", "ishexa", "quit", "weekday", "day", "isinteger", "rad",
   40       "wend", "dconv$", "islcase", "raise", "while", "debug", "isletter", "randomize",
   41       "with", "dec", "islong", "rdir", "write", "default", "isnull", "read", "xor",
   42       "deg", "isnumber", "realloc", "year", "dfree", "isobject", "repeat"
   43     }
   44   },
   45 
   46   { Id=4,
   47     Regex=[[(\w+)\s*\(]]
   48   }
   49 }
   50 
   51 Strings = {
   52   Delimiter=[["|']],
   53 }
   54 
   55 Comments = {
   56 
   57   {
   58     Block=false,
   59     Delimiter = { [[']] }
   60   }
   61 }
   62 
   63 IgnoreCase=true
   64 
   65 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]]