No registered users in community xowiki
in last 10 minutes
in last 10 minutes
[Xotcl] Even more [eval] woes
From: Kristoffer Lawson <setok_at_fishpool.com>
Date: Mon, 6 Sep 2004 16:51:35 +0300 (EEST)
[self proc] inside a method that has been called inside an [ob eval] block
gives the result "eval" inside of the method we're in.
In practise this is now causing so many headaches I think I'm going to
give up on doing this package using XOTcl that way. There appears to be no
(working?) way to run a script within the 'context' of an object, in order
to easily parse data which is formed in the style of a Tcl script. This is
unfortunate as it would likely have offered clear performance benefits.
I may still try to do it directly with normal namespaces instead of XOTcl.
/ http://www.fishpool.com/~setok/
Date: Mon, 6 Sep 2004 16:51:35 +0300 (EEST)
[self proc] inside a method that has been called inside an [ob eval] block
gives the result "eval" inside of the method we're in.
In practise this is now causing so many headaches I think I'm going to
give up on doing this package using XOTcl that way. There appears to be no
(working?) way to run a script within the 'context' of an object, in order
to easily parse data which is formed in the style of a Tcl script. This is
unfortunate as it would likely have offered clear performance benefits.
I may still try to do it directly with normal namespaces instead of XOTcl.
/ http://www.fishpool.com/~setok/