Updated 2017-10-04 22:20:32 by pd

The Tcl Programming Language is a comprehensive guide to Tcl, covering the latest (8.6) version of the language. Both the ebook and print versions are available.

Purchase information edit

Ebook version

The ebook version (PDF format), priced at $17.95, is available from Gumroad.

Print version

The print version is available from Amazon in USA/Canada and their European sites including UK, Germany, France, Spain and Italy. The print book is priced at $34.95 on Amazon USA. Prices outside the US/Canada will vary based on exchange rates, VAT and other taxes. If you like the book, positive reviews on Amazon are greatly appreciated.

You can also purchase the book directly from CreateSpace although you will not save any money and shipping charges might be rather high if you do not live in North America.

Print and Ebook bundle

Unfortunately, because of the different distribution methods (Amazon and Gumroad), there is no print+ebook bundle. However, if you are interested in both formats, you can avail of a discount with the following procedure:

  • If you buy the print version first, send an email with the invoice/order no. (no need for the whole receipt) to apnmbx-wits at yahoo and I will send back a coupon for $10 off on the Ebook at Gumroad. This method is particularly recommended for non-US customers.
  • If you buy the Ebook, you should automatically receive an email within a day with a coupon code for $10 off the print version. However, this coupon can only be used on CreateSpace, not Amazon as the latter has no such facility. Unfortunately, non-US customers may incur higher shipping charges but that's the best I can do for now.

Book description edit

Paperback: 668 pages
Publisher: CreateSpace Independent Publishing Platform (July 18, 2017)
Language: English
ISBN-10: 154867964X
ISBN-13: 978-1548679644
Product Dimensions: 7.5 x 1.5 x 9.2 inches

For a full Table of Contents, download this PDF.

From the back cover:
The Tcl Programming Language is a comprehensive guide to the current
version (8.6) of this immensely flexible and versatile
language. Starting with the basic features, it expands its scope to
include the more advanced concepts, facilities and programming idioms
from which the language derives its power.

* Begin with the basics of Tcl syntax and commands for operating on
data.

* Get acquainted with the flexible and uniform execution model that
enables metaprogramming, custom control structures etc.

* Learn to modularize your code with namespaces, object-oriented
design and packages.

* See how intrinsic support for Unicode and encodings makes it a
breeze to localize your applications.

* Become conversant with the integrated event loop and how it
facilitates efficient asynchronous I/O models and the reactive style
of programming.

* Delve into Tcl's sophisticated I/O framework and write your own
reflected channels, transforms and virtual file systems.

* Understand the built-in facilities for inter-process communication
using pipes or the network.

* See how concurrent programming facilities like coroutines and
threads can simplify your code and make it more performant.

* Learn how to secure your application through the use of safe
interpreters for sandboxing.

* Interact with databases through the Tcl Database Connectivity
interface.

* Discover how software distribution and installation headaches are
eliminated with starkits and single file deployment.

The breadth of coverage and numerous examples will familiarize
newcomers to every aspect of Tcl programming. At the same time, the
depth and level of detail, and an exhaustive index, make The Tcl
Programming Language a valuable reference in every Tcl programmer's
bookshelf.

Reviews edit

Support edit

Please send any errors or other comments about the book to apnmbx-wits at yahoo.

The sample scripts from the book are available at https://sourceforge.net/projects/magicsplat/files/ttpl/

Errata edit

Section 4.12.1.11, bottom of page 97, in the code example
    regexp {(?ic)RE} STRING

should be
    regexp {(?in)RE} STRING

Thanks to Saurabh G. for his careful reading!

2.2.5.2. Executable scripts on Windows
    C:\temp>ftype TclApp=C:\Tcl\bin\tclsh.exe

should be
    C:\temp>ftype TclApp=C:\Tcl\bin\tclsh.exe "%1" %*

Discussion edit


JJM - 2017-07-25 - Got the book in the mail, looks really great. Nice job.

arjen - 2017-07-06 19:35:22

Congratulations! It is a welcome addition to the Tcl library and a voluminous one at that :)

bll 2017-7-6 Looks very comprehensive. Looking forward to reading it.

ALX 2017-07-09 17:45 Year! First! :-) "Well, thanks for your prompt purchase! You are the very first buyer of my book! /Ashok"

RLH: Will there be a book/ebook bundle? APN No bundle because of the different distribution channels. But you might be able to make use of the discounted price as noted above. RLH Got them both. Reading through the book now. :)