From: Andreas K. <aku...@sh...> - 2006-08-17 04:46:22
|
> Any comments on packages that require 8.5 in tcllib so far? I think > this discussion came up, but I couldn't find it. The only packages currently in Tcllib which exclusively require 8.5 are version 2 of snit and math::bigfloat. The treeql package has two different implementations for 8.4 and 8.5. Some other packages, like sha1, math::optimize, and struct::list do minor tweaking when loaded into 8.5. > I have fixed the JSON parser that is on the wiki, and would like to add > it to tcllib. It uses dict (and it only gets sticky if you don't want > to use dict). I have coded it to fall back on trying to package require > dict below 8.5 (ActiveTcl includes dict). snit v2 uses dict commands as well ... Regarding the dict package in AciveTcl, it is possible to write a replacement in pure Tcl if we do not wish the dependency. If we do that Pascal's 'dict' compat package in ActiveTcl can be an accelerator for the pure Tcl version. > Any objections to my adding it? No objection from me. -- So long, Andreas Kupries <aku...@sh...> <http://www.purl.org/NET/akupries/> Developer @ <http://www.activestate.com/> ------------------------------------------------------------------------------- |