From: martin r. <li...@ru...> - 2004-02-05 19:42:02
|
On Mon, Feb 02, 2004 at 11:43:40AM +0100, Sam Hocevar wrote: > Yes, R5RS support is the plan for Elk 5.0. I plan to release 4.0 > (which is only R4RS compliant -- notice how the version numbers > pleasantly match :D) when it has proved to be stable enough. The only great. ahh, i didn't notice that reading of rationals is not part of R4RS... > > issues when adding ratnum support (like exact/inexact stuff etc.) > > that i am overlooking? > > I don't know. There are certainly issues that won't be noticed right with the reader extension patch for rational numbers: > (exact? 8/4) #t which seems to be true, since 8 and 4 are exact and / is in this case an integer operation which produces exact results. in the patch Make_Reduced_Flonum() is used. > 4.0 because it might be too big a change, but I will create a 4.99.* > development series (which will lead to 5.0) and apply your patch to that it's just a few lines inside Parse_Number in read.c. seems to be quite stable, since it worked for ten years on the original NeXTStep version of the sound synthesis program... but if it's not R4RS conformant, it's possibly better to include it in the 4.99 branch. all the best, martin |