On Friday 06 June 2003 16:12, Don Baccus wrote:
> On Friday 06 June 2003 02:53 am, Zoran Vasiljevic wrote:
> > On Friday 06 June 2003 11:48, you wrote:
> > > Zoran Vasiljevic wrote:
> > > > I would love to hear some other oppinions. But, I'm already thinking
> > > > about what we'd need to do so that both approaches are available.
> > >
> > > My simple guess would be that the easiest solution would be to
> > > 1/ create a temporary interpreter
> > > 2/ eval the initialization code in it
> > > 3/ eval the code entered in ns_eval
> > > 4/ grab the new initialization code
> >
> > Good point :)
> > Zoran
>
> Yes, this would be an easy spin-off of the existing code I believe.

Nevertheles, to be really fair, there is some more work to be done
under the hood to get this working. The problem is in 1/.
Simple "interp create" won't work since script passed to ns_eval
might contain ns_* commands which are not part of the virgin
Tcl interp. I will have to investigate what we need to do to get the
1/ run properly. When this is solved, the rest is trivial.

Zoran


--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list: http://www.aolserver.com/listserv.html
List information and options: http://listserv.aol.com/

Reply via email to