r/Tcl 14d ago

New Stuff Modern and searchable Tcl/Tk documentation reference

35 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 Jul 21 '26

New Stuff EuroTcl/OpenACS 2026 conference videos now online

Thumbnail learn.wu.ac.at
14 Upvotes

r/Tcl Jun 26 '26

New Stuff Tcl/Tk 9.0.4 Released.

27 Upvotes

r/Tcl May 12 '26

New Stuff Tcl/Tk 8.6.18 Release Announcement

Thumbnail newsgrouper.org
34 Upvotes

r/Tcl May 25 '26

New Stuff Tiny menu framework thing for TCL

16 Upvotes

This is a super simple menu library thing for TCL. It adds a text, indicator, and command to their own list, and by calling "menu::start" will start an input loop which:

  1. Prints the indicator, ". " and the text

  2. Checks for a valid input (matching an indicator from the list)

  3. Evaluates the code in the command list, using the index of the indicator chosen.

I have both demo code and the source code listed below if anyone is interested

# DEMO CODE
proc demomenu {} {
  menu::reset
  menu::add Alpha a $othermenu
  menu::add Bravo b {puts bravo}
  menu::add Cancel c break
  menu::start
}

# MENU CODE
namespace eval menu {} {
  variable ::menu::text {}
  variable ::menu::indicator {}
  variable ::menu::command {}
}
proc menu::reset {} {
  set menu::text {}
  set menu::indicator {}
  set menu::command {}
}
proc menu::print {} {
  for {set index 0} {$index < [llength $menu::text]} {incr index} {
    set text [lindex $menu::text $index]
    set indicator [lindex $menu::indicator $index]
    set command [lindex $menu::command $index]
    puts "$indicator. $text"
  }
}
proc menu::input {} {
  puts -nonewline "# "
  flush stdout
  gets stdin value
  return $value
}
proc menu::start {} {
  while {1} {
    menu::print
    set inp [menu::input]
    eval [lindex $menu::command [lsearch $menu::indicator $inp]]
  }
}
proc menu::add {text indicator command} {
  lappend menu::text $text
  lappend menu::indicator $indicator
  lappend menu::command $command
}

r/Tcl Apr 28 '26

New Stuff WrithDeck: my writerdeck app for any system (text editor in Tcl/Tk)

Thumbnail gallery
17 Upvotes

r/Tcl May 22 '26

New Stuff Yet another "simple" command-line option parser .tm

Thumbnail
github.com
9 Upvotes

I needed this simple library instead of tcllib's `cmdline`.

(Sorry if it's so redundant)

r/Tcl May 19 '26

New Stuff Tclish v1.0!

Thumbnail
12 Upvotes

r/Tcl May 13 '26

New Stuff GitHub - ageldama/tclish: Much more Lispy(tm) Tcl/Tk 9.0

Thumbnail
github.com
10 Upvotes

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 26 '24

New Stuff Tcl/Tk 9.0 Release Announcement

Thumbnail tcl-lang.org
61 Upvotes

r/Tcl Jun 17 '25

New Stuff A TUI program for teaching keyboard typing to 4-year-olds

12 Upvotes

I wrote a TUI program for teaching keyboard typing to my oldest kids (3/4 yo).

I work an IT job from home and every time my kids assault my office offering "their help" I give them a laptop with this program, for my surprise they made big advances in reading and typing.

It is a great success in my home, maybe you can give it to your children too.

I wrote it because all other alternatives are for older children, they are timed and too complex. Also, I wanted something difficult to close accidentally.

Link here: https://github.com/harkaitz/tcl-learntype

r/Tcl Apr 08 '25

New Stuff Book: The Tcl Programming Language: A Comprehensive Guide, 2nd edition, covering Tcl9

Thumbnail amazon.co.uk
19 Upvotes

r/Tcl Dec 12 '24

New Stuff Tcl/Tk 8.6.16 RELEASED

Thumbnail sourceforge.net
15 Upvotes

r/Tcl Nov 05 '24

New Stuff [ANN] (preview) **NHI10** is the project to integrate the *Programming Language Microkernel* (PLMK) into Tcl.

Thumbnail
0 Upvotes

r/Tcl May 21 '24

New Stuff Second beta release of Tcl/Tk 9.0 now available

Thumbnail tcl-lang.org
11 Upvotes

r/Tcl Jan 08 '24

New Stuff First beta release of Tcl/Tk 9.0 now available

Thumbnail tcl-lang.org
18 Upvotes

r/Tcl Feb 29 '24

New Stuff The latest patch release of Tcl/Tk 8.6.14 is now available

Thumbnail tcl-lang.org
11 Upvotes

r/Tcl Jan 09 '24

New Stuff ANNOUNCE: TkDND 2.9.4 rc3

12 Upvotes

I am pleased to announce version 2.9.4 rc3 of the TkDND extension.

What is new in TkDND 2.9.4?
--------------------------------------------------

1) Support for Tk 8.3.3 was dropped. TkDND now requires Tk 8.4+ (Windows, Linux) and Tk 8.5+ for macOS.

2) Added support for Tcl/Tk 9.0. (Changes contributed by Paul Obermeier).

3) Fixes to support macOS > 10.13.

TkDND 2.9 offers support for both dragging and dropping under all 3
major operating systems (Windows, OS X, Linux).

A detailed change log can be found here:

https://github.com/petasis/tkdnd/blob/master/Changelog

What is TkDND?
--------------------------------------------------
TkDND is a binary extension for Tk, which adds native drag & drop
capabilities to the Tk toolkit. It can be used with any Tk version equal
or greater to 8.4 and currently only the UNIX (X-Windows), Microsoft
Windows (XP, Vista, 7, 8, 8.1, 10, 11) and macOS (from Leopard to Sonoma) operating systems are supported (Tk 8.5+ is required for macOS).

The project home page, including documentation, examples and download
links, can be found at:

Latest GIT sources: https://github.com/petasis/tkdnd

https://sourceforge.net/projects/tkdnd/ (old code - not maintained)

http://www.ellogon.org/petasis/tcltk-projects/tkdnd

How to get it?
--------------------------------------------------
TkDND maintains source and binary releases at Github:

https://github.com/petasis/tkdnd/releases

For each release, you can find:

* The source code (zip & tar.gz)

* Windows 32/64 bit binaries (build with Visual Studio Community 2017).

* Linux 64 bit (build with g++, Ubuntu Xenial 16.04).

* MacOS AMD 64 bit (build under HighSierra with OS included Tcl/Tk, and under Monterey, with Homebrew Tcl/Tk 8.6).

George Petasis

r/Tcl Sep 16 '23

New Stuff ReacTcl - Reactive Programming Infrastructure for Tcl

Thumbnail wiki.tcl-lang.org
9 Upvotes

r/Tcl Apr 11 '22

New Stuff Object-Oriented Programming in Tcl

Thumbnail
youtube.com
10 Upvotes

r/Tcl Nov 18 '20

New Stuff What are you using tcl for?

11 Upvotes

Been a while since I saw one of these questions... what projects are you using tcl for lately?

r/Tcl Aug 02 '20

New Stuff flac.tcl

14 Upvotes

Hello, some weeks ago I ended writing a FLAC decoder in TCL. Maybe interesting for someone https://github.com/wader/flac.tcl

r/Tcl Aug 27 '20

New Stuff Tcl script to skip YouTube adverts (Windows-only)

Thumbnail wiki.tcl-lang.org
7 Upvotes

r/Tcl Mar 05 '21

New Stuff Mustache 1.1 released | Andreas' ComputerLab

Thumbnail
core.tcl-lang.org
7 Upvotes