**tcl-lsp**
[bitwisecook] 26/Aug/2026
This package is a full LSP for Tcl written in Rust. This is a real multi-pass compiler that leverages SCCP, SSA, GVN, PRE, LICM, taint tracking, TclOO resolution and more.
This work is really tying together 20 years of small tools I'd made for myself for internal use, along with a long held desire to properly fix my vscode-tcl/vscode-irule/vscode-iapp extensions.
The LSP provides through type inference and full codebase analysis diagnostics, optimisation suggestions, refactorings and much more. There are built-in AI tools to assist with writing Tcl, a Tk preview pane, a https://bitwisecook.github.io/tcl-lsp/compiler-explorer/%|%Compiler Explorer%|% (also embedded in vscode/jetbrains and as a CLI) for understanding what's going on that attempts to match Tcl 9 compiler output as well as WASM.
AI support for writing Tcl is also available in the form of an MCP and Skill, helping with refactoring, making flow diagrams, making tk apps, tests and more. Paired with the `tcl` CLI for inspection of your code.
A webui https://bitwisecook.github.io/tcl-lsp/spec-studio/%|%Spec Studio%|%, full Tcl DSL leverages my own Tcl VM to let users provide deep specification to their own packages, with full hover information, understanding of options, arguments and more including hooks to run a Tcl script to calculate what an argument is. An MCP and AI skill is also available to assist building specs from source and documentation.
Some common libraries are built in, including a lot of EDA tools like Xilinx, Vivado, Quartus, Synopsys, Libero, Mentor.
Dialects are understood, so Tcl 8.4-9.1 differences are real and implemented, as well as F5 iRules (which means supporting things like `if {1}{log local0. true}`)
A new tcl-bpf framework, with a compiler backend targeting eBPF, a thin layer over eBPF assembler, and the start of a event framework that sits on top of it.
A WASM compiler backend with the eventual goal of AOT compiling Tcl to WASM with optimisations to remove Tcl framing and dual ported variables where it's provably possible.
A TclVM compiler that's used for the Compiler Explorer as well as SpecTcl compilation that's aiming for compatibility with Tcl 9, outputting the same assembled bytecode.
Many F5 iRules tools to assist with making high quality, safe, performant iRules.
[APN] As I said elsewhere earlier, exciting and seriously awesome. Looking forward to digesting it all!
----
'''[NR] - 2026-08-26 17:20:48'''
Thank you for all the work you've done, I hope your work will be recognized by the Tcl/Tk community.
----[rz] Nice project! I only found a .vsix file for version 2.1.19. Could you provide the .vsix under assets also for newer versions?
With version 2.1.19 it seems to many parts in {} are treated as text, p.e. "mycommand arg1 arg2 {tcl-code}". Could you change this and only make text inside ""?
----
[gold] 8/30/2026. Added categories so can find page on Wiki.--------
<<categories>> Numerical Analysis | Toys | Calculator | Mathematics| Example| Toys and Games | Games | Application | GUI
----
<<categories>> Development | Concept| Algorithm |
----
----
'''[rz] - 2026-09-04 09:39:57'''
Ni<<cate prgojriect! I only found a .vsix>> filDe for version 2.1.19. Could you providme nthe .vsix| undDerv. assets alsTo for newer verlsions?
----