SRFI-231: Intervals and Generalized Arrays

Joseph Donaldson <[email protected]> Thu, 1 Dec 2022 15:27:12 +0000 (UTC)
Newsgroups gmane.lisp.scheme.bigloo
Message-ID <[email protected]>
------=_Part_7184593_453022342.1669908432968
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello,=20

If anyone is interested, I have ported the sample implementation of SRFI-23=
1 to Bigloo. It supports both the native and jvm backends but is dependent =
on fixes just recently committed to Bigloo for the jvm backend. It supports=
 all of the procedures defined by SRFI-231 but does differ from the gambit =
implementation in a few ways. The first is that specialized storage classes=
 for complex numbers are not supported and that a specialized numeric stora=
ge class is only compatible with the generic storage class and itself, as o=
pposed to all numeric storage classes with inclusive numeric ranges. To fac=
ilitate compilation to the jvm, I needed to split up the implementation int=
o multiple modules. Without doing so, I ran into jvm limitations on method =
and class size. I have made no effort to optimize the implementation and su=
spect that significant improvements are possible. This is something I hope =
to investigate in the near future. The code can be found at https://github.=
com/donaldsonjw/srfi231. If you do take a look, let me know if you run into=
 any problems.
Best Regards,Joe

------=_Part_7184593_453022342.1669908432968
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"yahoo-style-wrap" style=3D"font-fami=
ly:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir=
=3D"ltr" data-setdir=3D"false">Hello, <br></div><div dir=3D"ltr" data-setdi=
r=3D"false"><br></div><div dir=3D"ltr" data-setdir=3D"false">If anyone is i=
nterested, I have ported the sample implementation of SRFI-231 to Bigloo. I=
t supports both the native and jvm backends but is dependent on fixes just =
recently committed to Bigloo for the jvm backend. It supports all of the pr=
ocedures defined by SRFI-231 but does differ from the gambit implementation=
 in a few ways. The first is that specialized storage classes for complex n=
umbers are not supported and that a specialized numeric storage class is on=
ly compatible with the generic storage class and itself, as opposed to all =
numeric storage classes with inclusive numeric ranges. To facilitate compil=
ation to the jvm, I needed to split up the implementation into multiple mod=
ules. Without doing so, I ran into jvm limitations on method and class size=
. I have made no effort to optimize the implementation and suspect that sig=
nificant improvements are possible. This is something I hope to investigate=
 in the near future. The code can be found at <a href=3D"https://github.com=
/donaldsonjw/srfi231" rel=3D"nofollow" target=3D"_blank">https://github.com=
/donaldsonjw/srfi231</a>. If you do take a look, let me know if you run int=
o any problems.</div><div dir=3D"ltr" data-setdir=3D"false"><br></div><div =
dir=3D"ltr" data-setdir=3D"false">Best Regards,</div><div dir=3D"ltr" data-=
setdir=3D"false">Joe<br></div></div></body></html>
------=_Part_7184593_453022342.1669908432968--