Code samples and tutorials

Here are code samples and tutorials. Some of these are bits of Tycho that I have placed here in order to get feedback or because they may be useful by themselves. Others are just bits of demo code I wrote to try something out.

Links in parentheses are non-existent or unfinished.

the Tycho Slate: a fancy canvas mega-widget
The Slate is a Tcl package that allows you to do all (well, some) of the things you always wanted to do with the Tk canvas but couldn't, and a few more besides. Works with Tcl 8.0 or Itcl 3.0.

Current version: 2.0 prerelease. Last updated May 7th, 1998.

tclmake: a Tcl-only make-like utility
tclmake is a simple make-like utility written entirely in Tcl. It reads a subset of make syntax, but with the commands to execute written in Tcl. It also has a Tcl API so that Tcl programs can do make-like stuff without having to write makefiles.

Current version: 0.2 devel. Last updated July 14th, 1997.

Notmake: a Tcl-only make-like utility
notmake is a simple make-like utility written entirely in Tcl. It is written for use in situations in which you need make-like support to install, use, or run Tcl programs on a platform that may not have make installed.

This code is obsolete. See tclmake instead.

Current version: 0.1 alpha. Last updated Jan 28, 1997.

Obstcl: yet another object system for Tcl
obstcl is the smallest and simplest piece of code I could come up with that does OO in plain Tcl. It has classes, instance variables, methods, inheritance, and Tk-style option variables, all in about 150 lines of Tcl. Plus another couple hundred if you need a modicum of [incr Tcl] compatibilty.

WidgetTree and LabeledGrid
Here are a couple of neat megawidgets I originally wrote for iwidgets but didn't make it. They're now part of of Tycho distribution, but these version have been modified so you can use them stand-alone.