Re: SRFI 13 & SRFI 14 for Bigloo

Marc Feeley <[email protected]> Sat, 6 Jan 2024 16:46:38 -0500
Newsgroups gmane.lisp.scheme.bigloo
Message-ID <[email protected]>
> On Jan 6, 2024, at 3:08=E2=80=AFPM, Lassi Kortela <[email protected]> =
wrote:
>=20
>> I have made Bigloo adaptions of SRFI 13 - String Libraries =
<https://github.com/donaldsonjw/srf13>and SRFI 14-Character Sets =
<https://github.com/donaldsonjw/srfi14>. As with the sample =
implementations, they are limited to iso-latin 1 but hopefully will =
still be useful to some.
>=20
> Thank you. These are among the most useful and widely used SRFIs.
>=20
> Marc Feeley and John Cowan can advise how to implement SRFI 14 for the =
full Unicode range. Marc designed a simple and efficient data structure =
for encoding subsets of the Unicode character set. I don't know whether =
it has been incorporated into Gambit yet.
>=20

Yes they are part of Gambit since last September, with a few tweaks =
since then. It implements Unicode 15.0. It has been checked against =
Racket (there are a few differences that seem to be due to differences =
in how =E2=80=9Cnumeric characters=E2=80=9D are defined in R6RS and R7RS =
specs).

The implementation creates all the data structures by analyzing the =
Unicode database files. These files are the main ones implementing SRFI =
14:

https://github.com/gambit/gambit/blob/master/lib/gambit/char/char%23.scm

https://github.com/gambit/gambit/blob/master/lib/gambit/char/char.scm

Marc Feeley