On Tue, 23 Nov 1999, Christian Krone wrote:

> Hello,
> 
> Mo wrote:
> > The best way to get regression test into Jacl is to get them into
> > the Tcl 8.3 tests. [...] Right now, the
> > Tcl 8.0 regression tests are used, but I want to switch everything
> > over to the new tests ASAP.

The general approach will be to update the regression tests to the
most recent ones in the Tcl core, and then fix Jacl. The 1.3 version
is going to have some major changes, and if little things break along
the way that is no big deal. The 1.3 version will be for developers
only, kind of like the odd numbered releases of the Linux kernel.

> But there are differences between Tcl8.0 and 8.3, e.g. in the clock
> command the new option -milliseconds in the clicks subcommand.
> Should we stay at our compatibility to 8.0, or should we try to
> upgrade to 8.3 where possible? (This is trivial for -milliseconds:
> Jacl return clicks in millis anyway...).

Great work. I will be sure to get these patches into the CVS
(still a couple of weeks off).
 
> I downloaded the 8.3 clock.test from cvs and changed ClockCmd.java,
> so that jacl passes the test with the modified clock.test.
> Both patches are attached.
> 
> Greetings, Krischan

The history command should be very easy. The binary command might be
a little bit more complex.

> P.S.: Probably I will have some spare time around xmas, and maybe
> I will find some time to implement another Tcl command for Jacl.
> >From the list of missing commands, I found history or binary of
> interest.

The new changes to string and lindex would also be a good thing
to add. I have already added some of the Tcl 8.1 changes to the
package command but there is still some more that needs to be
done there.

> If Jacl really upgrades to newer Tcl versions, I would
> also consider the new subcommands of string.

One area that really needs work is the file io streams.
Jacl currently does not do line ending conversions.
This is something that needs to be done in the channel
drivers so that unix (\n), windows (\r\n), and mac (\r)
files can be read and written. I could provide some
example code that does something simmilar.

The interp command would also be a really good thing to
add because it is used in lots of the Tcl regression
tests. I took a look at the C code for the interp
command and I do not think that it would be that
hard to implement.

> What command is on top of the wish list?

Mo DeJong

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 

Reply via email to