Packaging tcl packages.
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Packaging tcl packages.

From: R. Clayton <rvclayton@acm.org>
Date: Fri Dec 30 2005 - 21:50:09 CET

I'm writing tclets which are mostly structured as package requires and glue.
This structure seems to cause a problem: to be up-loadable by browsers a tclet
has to be a monolithic block containing all necessary code. This raises two
questions:

Does a tclet have to be a self-contained monolith? My experiments suggest so:
two separate tclet up-loads are isolated from one another and can't share code,
which seems sensible with respect to safety. I also haven't figured out how to
the the tcl equivalent to the Java codebase attribute (although I probably
don't understand what codebase is supposed to do).

The second question is: assuming a monolithic structure, is there a tool around
that can create the monolith? It doesn't seem like too difficult a shell
script to write, but dealing with browser-resident errors that result from
subtle monolithifying issues isn't my idea of a good time.

 
Received on Tue Jan 3 03:09:51 2006