RE: [tcljava-user] Any plans to support Tcl_CreateSlave
Brought to you by:
mdejong
From: Pierce, G. <Gre...@ls...> - 2006-03-20 19:27:44
|
Hi Mo, In my particular situation that doesn't work. I went ahead and modified the TclBlend source to add the capability of creating a slave interp. It's working great. If you're interested I can send you a patch as soon as I figure out how to send you a patch. Greg > -----Original Message----- > From: tcl...@li...=20 > [mailto:tcl...@li...] On Behalf=20 > Of Mo DeJong > Sent: Sunday, March 19, 2006 10:38 PM > To: tcl...@li... > Subject: Re: [tcljava-user] Any plans to support Tcl_CreateSlave >=20 > On Thu, 16 Mar 2006 20:16:07 -0700 > "Pierce, Greg" <Gre...@ls...> wrote: >=20 > > Hi Mo, > > > > Is there any plans to support Tcl_CreateSlave? I would > > love to be able to create a slave interpreter and register > > Java commands for that slave. >=20 > You can already do that: >=20 > set slave [interp create] > $slave eval {set var 0} >=20 > There is no Java level API like the Tcl_CreateSlave method, but you > can just evaluate the commands at runtime. >=20 > cheers > Mo DeJong >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting language > that extends applications into web and mobile media. Attend=20 > the live webcast > and join the prime developer group breaking into this new=20 > coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720& > dat=3D121642 > _______________________________________________ > tcljava-user mailing list > tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcljava-user >=20 |