Version 23 of Advanced Tcl

Updated 2013-03-03 16:37:53 by pooryorick

For those programmers who are beyond Beginning Tcl, and would really like to exploit some of the power of the Tcl language and/or the Tk Toolkit, here is a list of pages describing some advanced concepts.

This is a grab bag of new ideas that you might one day find useful. It isn't indexed to help you solve specific problems. Just read through it for ideas. Come back later for a refresher when you want to try them out.

Tcl Concepts

Building Tcl extensions
package management
Tcl Performance
Regular Expressions
Arrays / Hash Maps
String Processing
Variable Traces
when are they useful?
How can I compile Tcl type scripts into binary code
?
Meta Programming
Sendmail
Sockets demonstration using an all-Tcl
Tcl data types
Serial Port
How to control a physical device
Introspection
Radical Language Modification
What should I be sure to do so my Tcl based programs run cross platform
?
How do I manage lock files in a cross platform manner in Tcl
?
Will's Guide to Creating Object Commands
Objects in Tcl
Interacting with the internet
Interacting with databases
New Control Structures
Data files in Tcl
simple tricks to parse text files
Tcl Handles
passing C pointers around in Tcl
How can I add a new option to an existing Tcl command?
Data is code
paragraphing

Tk Concepts

Tk Performance
Entry Field Processing
Event Processing
Poor Man's Drag-N-Drop
by Bryan Oakley
   [Geometry Managers]:  
   [Practical Guide to Choosing Fonts]:  
Grab Tips
for when you want to redirect events from one window to another
Option Database Tutorial
a great way of getting user-configurable and localizable applications
Adding User Data to Widgets the Megawidget Way
Tk image Dos and Don'ts
Cross Platform differences in Tcl/Tk

Interfacing with C

Hello World as a C extension
Writing Extensions
Critcl builds C extensions on-the-fly
Pointer clean-up!
from PSE
Blessed Tcl_Obj Values
DKF: how to make that struct full of pointers be passable through Tcl while guaranteeing that no loose references can be generated
   [How do I use the Tcl C API?]

Misc

Bag of algorithms
Bag of Tk algorithms
Bag of number/time spellers
Example scripts everybody should have
Braintwisters
Tcl gems
When should Tcl/Tk/etc. NOT be used?
Halting Problem
Tcl-style
Tk in a set-userid application
How do I report a bug in Tcl, Tk, ...?
Incr Tcl Design Patterns