Want to learn and master Tcl?

Join Exercism’s Tcl Track for access to 124 exercises with automatic analysis of your code and personal mentoring, all 100% free.

Explore exercises

About Tcl

proc greet {name} {
    return "Hello, $name!"

puts [greet "World"]

124 coding exercises for Tcl on Exercism. From Markdown to Raindrops.

Get better at programming through fun, rewarding coding exercises that test your understanding of concepts with Exercism.

See all Tcl exercises on Exercism

Key Features of Tcl


General Purpose

Tcl is used for web applications, desktop GUIs, testing and automation, and more.

Dynamic Language

Tcl is a high-level language well suited for rapid development and prototyping.

Easy to Learn

The entire syntax of Tcl is described in just 12 rules.


Procedural, OO, functional; builtin event loop for network programming and asynchronous file I/O.

Simple Concurrency

Coroutines allow asynchronous interleaved tasks to be written in a sequential style.

Mature but Evolving

Continuous, active development since the early 1990's.

Get mentored the Tcl way

Every language has its own way of doing things. Tcl is no different. Our mentors will help you learn to think like a Tcl developer and how to write idiomatic code in Tcl. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in Tcl - they'll help you discover the things you don't know that you don't know.

Learn more about mentoring

Community-sourced Tcl exercises

The Tcl track on Exercism has 124 exercises to help you write better code. Discover new exercises as you progress and get engrossed in learning new concepts and improving the way you currently write.

See all Tcl exercises

Get started with the Tcl track

The best part, it’s 100% free for everyone.