r/Tcl • • Sep 26 '24

New Stuff Tcl/Tk 9.0 Release Announcement

Thumbnail tcl-lang.org
59 Upvotes

r/Tcl • • Oct 26 '19

Meta DO NOT DELETE YOUR QUESTIONS!

53 Upvotes

A very disturbing phenomenon on other tech subreddits has finally reached r/Tcl's shores: folks who ask questions, get answers, then delete their questions, thus also removing the answers from the public record.

THAT'S. NOT. COOL.

It's unfair to the community members who spent time and effort to help you.

It's unfair to the people after you who may have the same holes in their knowledge.

It's unfair to the Internet at large, who can no longer find these nuggets of Tcl wisdom.

So please keep your questions up for the good of this community and the technosphere at large.

Thanks much!


r/Tcl • • Aug 02 '26

A well-written and remarkably comprehensive introduction to Tcl/Tk

Thumbnail cgicoffee.com
48 Upvotes

r/Tcl • • Aug 14 '26

New Stuff Modern and searchable Tcl/Tk documentation reference

39 Upvotes

Hi everyone! I've been trying to use Tcl/Tk for some personal projects recently, but was somewhat put off by the state of the documentation. I find the official site hard to search and navigate, and the layout isn't responsive so trying to read it on my phone isn't easy.

I took a couple of days and put together a new site to make reading the documentation easier. The goal was to make things look modern with a responsive layout, with light and dark mode, and a full search accessible from every page. It's all statically generated, including the search, so hosting costs next to nothing.

The code is all open source as well, with links in the footer. All of the documentation is generated from the man pages, similar to the official site. The generator is written in go with no external dependencies. To be transparent, I did use AI to write a lot of the code.

I mostly created it for myself, but I would love it if it helped anyone here. Let me know if you have any feedback!

https://tcl.lambda.cx/


r/Tcl • • Sep 29 '26

New Stuff Tcl/Tk 9.1 Release Announcement.

38 Upvotes

Tcl/Tk version 9.1 is now available with various updates and fixes. Highlights are listed at https://www.tcl-lang.org/software/tcltk/9.1.html . For details see https://newsgrouper.org/%[email protected]%3E (Tcl) and https://newsgrouper.org/%[email protected]%3E (Tk). 🪶


r/Tcl • • Sep 13 '26

New Stuff Mied Editor

Thumbnail
gallery
35 Upvotes

A small, distraction-free multi-document text editor built on Tcl/Tk - https://github.com/KikyTokamuro/mied


r/Tcl • • May 12 '26

New Stuff Tcl/Tk 8.6.18 Release Announcement

Thumbnail newsgrouper.org
35 Upvotes

r/Tcl • • Feb 12 '26

Announcement: Pre-built Tcl/Tk 9.0 binaries available for download

33 Upvotes

Dear TCL community,

I’m happy to share that new Tcl/Tk 9.0 binary downloads are now available at: https://github.com/teclabat/tcltk-binaries

There is already a nice set of Tcl 9.0 packages available like rljson, vectcl, curl, etc. The missing packages will follow as soon as possible.

Happy TCLing!


r/Tcl • • Nov 13 '25

New Stuff Tcl/Tk 9.0.3 Released.

32 Upvotes

Tcl/Tk 9.0.3 is now released. This is a patch release of the Tcl programming language and the Tk GUI toolkit with various fixes. For details see the announcements at:
Tcl: https://sourceforge.net/p/tcl/mailman/message/59259102/
Tk: https://sourceforge.net/p/tcl/mailman/message/59259103/


r/Tcl • • Sep 25 '26

General Interest Just learnt TCL exists!

31 Upvotes

Hey y’all, YouTube randomly suggesting the “Everything is a String” video and TCL looks pretty interesting!

I’m a hobbyist HTML/CSS/JS dev (including Nodejs for server-side stuff) and just wondering how well TCL works as compared to other scripting languages. The idea of TK allowing for platform-native apps sounds amazing, especially now with Electron (🤢) being the standard.

I mainly code Discord bots and web pages to help with TTRPGs that I play, so is not like I work in a big team or anything. I just dabble for fun.

Anyway, I’m babbling and don’t seem to have anything actually productive to say, so I’ll sign off now. ✌️


r/Tcl • • Jun 26 '26

New Stuff Tcl/Tk 9.0.4 Released.

29 Upvotes

r/Tcl • • Jul 07 '25

General Interest Video: The Most MISUNDERSTOOD Programming Language

Thumbnail
youtube.com
29 Upvotes

r/Tcl • • Mar 25 '23

TclWise, a Tcl book with free chapters online (by the author of "Tcl the Misunderstood")

Thumbnail invece.org
29 Upvotes

r/Tcl • • Sep 04 '25

An interpreter supporting both Tcl and Python

28 Upvotes

Python has become increasingly popular in recent years, so we developed an interpreter tclpysh that allows seamless switching between Tcl and Python. After switching, the variables from one language remain accessible in another language, and there’s no memory copy involved (meaning: no matter how large the variable is, the switch happens with zero delay).

Here is an example:

variable longstr [string repeat ab 1000000000]

py; # 0-delay lang switching from tcl to python

len(longstr)

Feel free to try it with our online playground (part of the features are not implemented after porting to web):

https://dashthru.com/playground


r/Tcl • • Mar 12 '26

"The weirdest programming language I ever learned" - YouTube

Thumbnail
youtube.com
27 Upvotes

It's mildly amusing, watching someone discover Tcl for the first time.


r/Tcl • • Apr 13 '26

Pre-built Tcl/Tk 9.0 and 8.6 binaries

25 Upvotes

Dear TCL community,

I’m happy to share that new Tcl/Tk binary downloads are now available at: https://codeberg.org/tcltk/binaries

Happy TCLing!


r/Tcl • • Dec 09 '22

ActiveState (makers of ActiveTcl) have open-sourced their Komodo IDE, which supports Tcl

Thumbnail
activestate.com
24 Upvotes

r/Tcl • • May 26 '26

Post your .tclshrc!

23 Upvotes

Tcl scripts are usually things designed to be boringly sensible and useful, but the .tclshrc? That's for your interactive sessions, where you can get more creative! So post them! Any tricks in there that are particularly good or that are just plain old nice to work with?

Here's mine:

namespace path tcl::unsupported
proc % args {tailcall {*}$args}
if {
    [package vsatisfies [package require Tcl] 9.0]
    && [dict exists [chan configure stdin] -inputmode]
} then {
    apply {{} {
        const CSI "\x1b\["
        const envname [if {[info commands tk] ne ""} {subst Tcl/Tk} {subst Tcl}]
        puts [format "${CSI}38;5;2;1;3mThis is %s %s, build %.12s\u2026${CSI}0m" \
                $envname \
                [tcl::build-info patchlevel] \
                [tcl::build-info commit]]
        set ::tcl_prompt1 [list apply {{CSI} {
            puts -nonewline "${CSI}38;5;1;1m% ${CSI}0m"
            flush stdout
        }} $CSI]
    }}
}

r/Tcl • • Oct 25 '22

Improved Tcl support in Neovim

23 Upvotes

As part of my work-in-progress Neovim plugin for Tcl development, I added support for Nagelfar syntax checking in the nvim-lint plugin. This provides inline checking for errors as seen in the attached screenshot. If anyone has any ideas on how to create a Tcl Language Server, or knows of a project already working on one, I would be very interested to know about it.


r/Tcl • • Jan 04 '21

Tcl/Tk 8.6.11 released

Thumbnail groups.google.com
23 Upvotes

r/Tcl • • Jan 28 '26

Announcement: New pre-built Tcl/Tk binaries available for download

22 Upvotes

Dear TCL community,

I’m happy to share that new Tcl/Tk binary downloads are now available at: https://github.com/teclabat/tcltk-binaries

This distribution also includes a revitalised scotty/tnm, which I’ve spent some time bringing back into shape, along with many other new packages — take a look for yourself!

Happy TCLing!


r/Tcl • • Nov 22 '22

Tcl/Tk 8.6.13 released.

Thumbnail sourceforge.net
22 Upvotes

r/Tcl • • Oct 27 '20

Why I'm Tcl-ish

Thumbnail
colin-macleod.blogspot.com
22 Upvotes

r/Tcl • • Aug 03 '26

Novel Method for Building Tk Graphical Apps

Thumbnail
johngrah.substack.com
21 Upvotes

Dear Tcl Community: I have created a novel method for building graphical apps (based on the Tk libraries) in which the graphical markup is fully separated from the Tcl logic.

An XML file is used to hold the entire markup for building Forms; this includes all of the annoying little Bind scripts that would otherwise clutter the main logic file.

Every Tk widget is compatible with the system, including the container widgets such as the tabbed notebook and the paned window.

I have written a Substack article about this system which is linked in this post.

Please comment here o in the Substack to make contact if you would like to discuss this further.

Cheers!

John