Sublime Forum

Tcl Syntax Rewrite Feedback

#1

I recently rewrote the Tcl syntax while fixing some bugs. I’d appreciate some feedback from people who work with Tcl regularly. Improvements include:

  • Better handling of nesting strings, curly braces, substitutions
  • Highlighting of user command names
  • Highlighting of numeric literals
  • Improved handling of proc arguments
  • Inclusion of namespace names in the symbol list
  • Scopes consistently applied to {, }, [ and ] for more control with color schemes

You can grab the latest syntax from https://github.com/sublimehq/Packages/tree/tcl-rewrite. See https://github.com/sublimehq/Packages#readme for general install instructions.

Please open issues for problems at https://github.com/sublimehq/Packages/issues.

0 Likes

#2

I ended up merging this into master after doing some more testing with some real-world Tcl codebases.

Please feel free to report bugs on the issue tracker.

0 Likes