Re: [tcljava-dev] Re: [tcljava-user] incr Tcl support
Brought to you by:
mdejong
From: Mo D. <md...@cy...> - 2001-03-15 20:54:48
|
On Thu, 15 Mar 2001, Christian Krone wrote: > Hello, > > Mo DeJong wrote: > > > > Has anyone ported [incr Tcl] to Java / Jacl? > > No. I looked into it, it would not be all that hard. > > Hey, this sounds interesting. > I just looked into the sources, too, and there are > only 11 C files. And there are also test files! It is easier than that. There a 2 backward compatibility layers in the C code that are not really needed. If you just focus on Itcl 3.X, it will be a lot easier. Just ignore the 1.X and 2.X layers. > Since I recently started to write some [Incr Tcl] > code (and I really love it!), I could imagine to > spend some weekend hours in porting the C stuff to Java. Cool. > But how will the new classes be loaded into Jacl? > Does the package require stuff really works? It works for loading packages off the filesystem. What does not work is loading packages out of a .jar file. It would not be all that tricky, it just needs someone to do it. > > There is one bit of the Tcl namespace > > code that would need to be implemented to > > support Itcl (external resolvers). > > Do you mean, the current namespace implementation > isn't complete? Do you mind to implement this > missing stuff if the [Incr Jacl] classes need them? The "external resolvers" thing in an internal namespace API that is only used by Itcl. It would be trivial to add it to NamespaceCmd.java. Mo DeJong Red Hat Inc |