"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/tcsh.lang" (12 May 2020, 1107 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="TCSH"
    3 
    4 Categories = {"script", "shell"}
    5 
    6 
    7 Identifiers=[[ [a-zA-Z_\@][\w\-]* ]]
    8 
    9 Keywords={
   10   { Id=1,
   11     List={"return", "if", "endif", "then", "else", "switch", "endsw", "while",
   12             "end", "foreach", "do", "done", "", "eval", "exec", "exit", "fg", "goto",
   13             "glob", "hashstat", "history", "jobs", "kill", "limit", "login", "logout",
   14             "nohup", "notify", "nice", "onintr", "popd", "pushd", "printenv", "read",
   15             "rehash", "repeat", "set", "setenv", "shift", "source", "suspend", "time",
   16             "umask", "unalias", "unhash", "unlimit", "unset", "unsetenv", "wait", "alloc",
   17             "bindkey", "builtins", "complete", "echotc", "filetest", "hup", "log", "sched",
   18             "settc", "setty", "stop", "telltc", "uncomplete", "where", "which", "dirs",
   19             "ls-F", "@"},
   20   },
   21   { Id=2,
   22     Regex=[[\$\S+]],
   23   },
   24   { Id=3,
   25     Regex=[[(\$\{\w+\})]],
   26   },
   27 
   28 }
   29 
   30 Strings={
   31   Delimiter=[["|']],
   32 }
   33 
   34 IgnoreCase=false
   35 
   36 Comments={
   37   { Block=false,
   38     Delimiter= { [[#]] },
   39   },
   40 }
   41 
   42 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]