tcl-hacks

File List
Login

Files of check-in [e570c71b81] in the top-level directory


A repository of useful and/or interesting hacks in Tcl.

Some of this stuff I use every day, some is highly experimental, some is just
fun.  It should all be pretty readable.

Subdirectories are independent projects:  see individual READMEs for details.

Initial contents include:

    ebnf    - a recursive-descent parser generator with a cute implementation
    go      - a reimplementation of https://github.com/securitykiss-com/csp
    inet    - a toy inetd with inbuilt coroutine-based services
    oometa  - TclOO extension done right
    procmap - collect metadata about Tcl procedures at runtime.  Dangerously.
    tcltags - ctags(1) clone for Tcl

    modules - various general-purpose pure-Tcl modules

    hacks   - interesting hacks that are too experimental to be useful yet

Where stuff is demo'able, I've included "boot.tcl" which will stuff the
appropriate dirs into $::auto_path and tcl::tm::path so that it can find its
modules.  Just put that in the command-line:

    $ tclsh boot.tcl hacks/Window-0.tm

Or use 'tclish':

    $ ./bin/tclish


!NOTE!:  the contents of this repository often lag dreadfully behind what I'm
actually using in live projects.  If anything seems particularly funky, or
simply fails to work, ping me with a ticket (or on the chat) to update it.