*XOTcl ver. 1.6.0 is now available for Windows and FreeBSD users*
------------------------------------------------------------------------
For users of Microsoft Windows:
WinTclTk distribution for Microsoft Windows, versions 8.5.1 and 8.4.18
URL: http://wintcltk.sourceforge.net
Single-file Tkcon executable (no need to install anything, just run & try)
based on Tcl/Tk 8.5.1 or 8.4.18 including XOTcl 1.6.0 can be downloaded
from:
URL: http://wintcltk.sourceforge.net/tkwrap.html
------------------------------------------------------------------------
For users of FreeBSD:
FreeBSD ports tree (packages will be built in the next days)
URL: http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/xotcl/
Dear XOTcl Community,
XOTcl 1.6.0 is available. This release provides in short:
- orthogonality improvements for introspection,
- more introspection methods (one can now e.g. query, into which
classes a mixin class is mixed into) and
- performance improvements (some methods are significantly
faster. e.g. by a factor of 1000 for larger systems).
In addition, the XOTcl source code follows now closer the Tcl
source code guidelines (e.g. variable naming), a few potential
crashes have been fixed.
See below for more details.
Best regards
-gustaf neumann
===============================================
Announcing XOTcl 1.6.0
*************************
We are pleased to announce the availability of XOTcl 1.6.0.
Major changes relative to 1.5.6 are:
* Provide a uniform interface to the following info subcommands
<class> info superclass ?-closure? ?pattern?
<class> info subclass ?-closure? ?pattern?
<class> info instances ?-closure? ?pattern?
<class> info instmixin ?-closure? ?pattern?
The new option "-closure" returns the transitive set of the
relation (e.g. .. info subclass -closure) returns the subclasses
and the subclasses of the subclasses. For "info instances
-closure" the instances of the subclasses are returned as
well. For more details, please see the language reference manual.
In cases, where a pattern is specified, and the pattern contains
meta-characters, a list of results is returned matching the
pattern (like "string match"). When no matching value is found,
an empty list is returned.
In cases, where a pattern is specified, and the pattern contains
no meta-characters, a single value is returned corresponding to
the specified value. The pattern is used to lookup an object or
class, such it is not necessary to provide fully qualified
names). if there is no match, empty is returned. Previously,
"info superclass" and "info subclass" returned a boolean value
and performed always a transitive search. Returning "" is more
consistent and more in line with Tcl.
Note that "<class> info superclass -closure" is a replacement for
"<class> info heritage", and "<class> info instances -closure"
is a replacement for "<class> allinstances". The old commands
will be marked as deprecated in the near future.
Please note, that the behavior of the match pattern has
changed and is therefor not completely compatible with
prior versions.
* New info subcommands:
<class> info instmixinof ?-closure? ?pattern?
<class> info mixinof ?pattern?
These info subcommands are used to determine, into
which classes a mixin class was mixed into.
These inverse functions of mixin and instmixin are used as well
internally. These functions help to speed certain operations
(e.g. superclass, or registering a mixin class) up by a factor of
1000 (!) or more, when a large number of objects exist.
This functionality was primarily implemented by Martin Matuska.
Many thanks!
* Made the behavior "pattern" in the following calls identical
concerning wild cards and object lookups
<object> mixin delete pattern
<class> instmixin delete pattern
<class> superclass delete pattern
<object> info mixin ?pattern?
* Fix to preserve var traces when copying objects
(Many thanks to Florian Murr for reporting)
* Fix problem in Tcl 8.5.* when setting variables
from C (problem with Tcl_ObjSetVar2()?); many
thanks to Florian Murr and Neophytos Demetriou
for reporting)
* Improved documentation
* Extended regression tests
For more details about the changes, please consult the ChangeLog and
documentation.
MORE INFO
General and more detailed information about XOTcl and its components
can be found at http://www.xotcl.org
Kristoffer:
Can you post some more information about how the API looks and works?
Your blog post doesn't have much information on how it works or looks.
Jade
Jade Rubick
Acting Chief Technology Officer
United eWay
jade.rubick(a)uwa.unitedway.org
w: 503.285.4963
f: 707.671.1333
http://www.UNITEDeWAY.org
On Feb 6, 2008, at 3:00 AM, xotcl-request(a)alice.wu-wien.ac.at wrote:
Having become somewhat fed up with the Template Toolkit, built on
Perl, I decided to create my own HTML/XML template system with the
help of XOTcl. It takes a rather different approach to how to create
templates, totally separating the actual HTML from the code that
defines the contents.
It's simple and easy, and there are things missing from it, but the
model is something I'm pretty keen to explore further. Not an actual
release, but you can fetch it to play around with it.
Some more information plus a rant against Template Toolkit (and
similar HTML template systems) at:
http://blog.fishpool.fi/?p=17
/ http://www.scred.com/
/ http://www.fishpool.com/~setok/