Attached a few zip archives containing modules/packages which could be
added to tcllib.
virtchannel_base.zip
Module 'virtchannel_base', additional packages/channels
Tcl 8.5+
facade - An implementation of Wub's IChan, using logger for
debugging and written as base-class instead of mixin.
A channel wrapping around another channel logging
activity and providing life-time information.
std - Provides a singleton channel putting stdin and stdout
into a single read/writable channel.
cat - Concatenation of multiple channels (similar to facade,
but multiple inputs, not seekable). Reading from the
channel returns the data from all the subordinate
channels in turn. Useful for streaming complex data
build up out of many smaller pieces, in memory, on file,
etc. (Example of a possible use: mime module not having
to construct a mail with large attachments in
memory. Only the various pieces, with the attachment
just one channel in the whole concatenation.)
http.zip
Module 'http', new package 'http::intercept'.
Tcl 8.5+ ( {*} )
To intercept http::geturl commands and serve them out of a
database of url/response mappings.
Useful for testing http-based protocols.
Incomplete.
try.zip
New module and package 'try'.
Tcl 8.5+ ( {*}, lassign )
When Donal implemented try/finally in 8.6 he wrote a Tcl
implementation first, before going to C. This here contains
said Tcl implementation, nicely wrapped as package.
I.e. forward compatibility.
lambda.zip
New module and package 'lambda'.
Tcl 8.5+ ( {*}, apply )
Simple wrappers around ::apply to make it easier (more
proc-like) to write anon procedures.
These are so simple, they could be added to the core. Still,
let us put them in Tcllib first, for hopefully quicker
distribution, and to see if they are actually used.
dictutil - Still working through Dict.tcl. Issue is less copying the
code over, but writing docs.
--
So long,
Andreas Kupries <aku...@sh...>
<http://www.purl.org/NET/akupries/>
Developer @ <http://www.activestate.com/>
-------------------------------------------------------------------------------
|