<glimmer-definition>
   <settings>
      <language>TCL/TK</language>
      <compiler></compiler>
      <debugger></debugger>
      <execution>%term% tclsh %1/%2</execution>
   </settings>

   <mime-types>
      <extension>tcl</extension>
   </mime-types>

   <syntax-items>
      <syntax-item>
         <name>comment</name>
         <start-regex>#</start-regex>
         <end-regex>\n</end-regex>
         <style>comment</style>
      </syntax-item>
      <syntax-item>
         <name>string1</name>
         <start-regex>&quot;</start-regex>
         <end-regex>\(&quot;\|\n\)</end-regex>
         <style>string</style>
      </syntax-item>
      <syntax-item>
         <name>string2</name>
         <start-regex>&apos;</start-regex>
         <end-regex>\(&apos;\|\n\)</end-regex>
         <style>string</style>
      </syntax-item>
   </syntax-items>

   <pattern-items>
      <pattern-item>
         <name>tclkeywords00</name>
         <regex>\b\(Http\|clock\|fblocked\|global\|llength\|proc\|seek\|unknown\|Safe Base\|close\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tclkeywords01</name>
         <regex>\b\(fconfigure\|history\|load\|puts\|set\|unset\|Tcl\|concat\|fcopy\|if\|lrange\|pwd\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tclkeywords02</name>
         <regex>\b\(socket\|update\|Tcltest\|continue\|file\|incr\|lreplace\|re_syntax\|source\|uplevel\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tclkeywords03</name>
         <regex>\b\(after\|ddefileevent\|info\|lsearch\|read\|split\|upvar\|append\|encoding\|filename\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tclkeywords04</name>
         <regex>\b\(interp\|lsort\|regexp\|string\|variable\|array\|eof\|flush\|join\|msgcat\|registry\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tclkeywords05</name>
         <regex>\b\(subst\|vwait\|bgerror\|error\|for\|lappend\|namespace\|regsub\|switch\|while\|binary\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tclkeywords06</name>
         <regex>\b\(eval\|foreach\|library\|open\|rename\|tclvars\|break\|exec\|format\|lindex\|package\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tclkeywords07</name>
         <regex>\b\(resource\|tell\|catch\|exit\|gets\|linsert\|pid\|return\|time\|cd\|expr\|glob\|list\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tclkeywords08</name>
         <regex>\b\(pkg_mkIndex\|scan\|trace\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tkkeywords00</name>
         <regex>\b\(bell\|event\|lower\|raise\|tk_focusFollowsMouse\|tkvars\|bind\|focus\|menu\|scale\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tkkeywords01</name>
         <regex>\b\(tk_focusNext\|tkwait\|bindtags\|font\|menubutton\|scrollbar\|tk_focusPrev\|toplevel\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tkkeywords02</name>
         <regex>\b\(bitmap\|frame\|message\|selection\|tk_getOpenFile\|winfo\|button\|grab\|option\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tkkeywords03</name>
         <regex>\b\(send\|tk_getSaveFile\|wm\|canvas\|grid\|options\|text\|tk_messageBox\|checkbutton\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tkkeywords04</name>
         <regex>\b\(image\|pack\|tk\|tk_optionMenu\|clipboard\|label\|photo\|tk_bisque\|tk_popup\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tkkeywords05</name>
         <regex>\b\(destroy\|listbox\|place\|tk_chooseColor\|tk_setPalette\|entry\|loadTk\|radiobutton\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tkkeywords06</name>
         <regex>\b\(tk_dialog\|tkerror\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>vars</name>
         <regex>\$[a-zA-Z_][a-zA-Z0-9_]*</regex>
         <style>variable</style>
      </pattern-item>
      <pattern-item>
         <name>numbers</name>
         <regex>\b[0-9]+\b</regex>
         <style>decimal</style>
      </pattern-item>
   </pattern-items>
</glimmer-definition>
