Re: SRFI 13 & SRFI 14 for Bigloo
Joseph Donaldson <[email protected]> Sat, 6 Jan 2024 23:13:51 +0000 (UTC)
| Newsgroups | gmane.lisp.scheme.bigloo |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_9614191_1981543691.1704582831192 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks Marc and Lassi.=20 I will take a look at Gambit's implementation. In that same direction, I al= so adapted Alex Shin's iset library which he used to support unicode in his= utf8 egg for Chicken Scheme. Thanks Again, Joseph Donaldson On Saturday, January 6, 2024 at 01:46:53 PM PST, Marc Feeley <feeley@iro= .umontreal.ca> wrote: =20 =20 =20 > 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://gith= ub.com/donaldsonjw/srf13>and SRFI 14-Character Sets <https://github.com/don= aldsonjw/srfi14>. As with the sample implementations, they are limited to i= so-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 fu= ll Unicode range. Marc designed a simple and efficient data structure for e= ncoding subsets of the Unicode character set. I don't know whether it has b= een incorporated into Gambit yet. >=20 Yes they are part of Gambit since last September, with a few tweaks since t= hen. 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=9Cnu= meric 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 =20 ------=_Part_9614191_1981543691.1704582831192 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html><head></head><body><div class=3D"ydp1426d1d1yahoo-style-wrap" style= =3D"font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px= ;"><div></div> <div dir=3D"ltr" data-setdir=3D"false">Thanks Marc and Lassi. <br><= /div><div dir=3D"ltr" data-setdir=3D"false"><br></div><div dir=3D"ltr" data= -setdir=3D"false">I will take a look at Gambit's implementation. In that sa= me direction, I also adapted Alex Shin's <a href=3D"https://github.com/dona= ldsonjw/iset" class=3D"">iset library</a> which he used to support unicode = in his <a href=3D"http://wiki.call-cc.org/eggref/5/utf8" class=3D"">utf8 eg= g</a> for Chicken Scheme.<br></div><div><br></div><div dir=3D"ltr" data-set= dir=3D"false">Thanks Again,</div><div dir=3D"ltr" data-setdir=3D"false"><br= ></div><div dir=3D"ltr" data-setdir=3D"false">Joseph Donaldson</div><div di= r=3D"ltr" data-setdir=3D"false"><br></div><div dir=3D"ltr" data-setdir=3D"f= alse"><br></div></div><div id=3D"ydpdc9e13c5yahoo_quoted_5469981061" class= =3D"ydpdc9e13c5yahoo_quoted"> <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s= ans-serif;font-size:13px;color:#26282a;"> =20 <div> On Saturday, January 6, 2024 at 01:46:53 PM PST, Marc F= eeley <[email protected]> wrote: </div> <div><br></div> <div><br></div> <div><div dir=3D"ltr"><br clear=3D"none">> On Jan 6, 202= 4, at 3:08=E2=80=AFPM, Lassi Kortela <<a shape=3D"rect" href=3D"mailto:l= [email protected]" rel=3D"nofollow" target=3D"_blank">[email protected]</a>> wr= ote:<br clear=3D"none">> <br clear=3D"none">>> I have made Bigloo = adaptions of SRFI 13 - String Libraries <<a shape=3D"rect" href=3D"https= ://github.com/donaldsonjw/srf13" rel=3D"nofollow" target=3D"_blank">https:/= /github.com/donaldsonjw/srf13</a>>and SRFI 14-Character Sets <<a shap= e=3D"rect" href=3D"https://github.com/donaldsonjw/srfi14" rel=3D"nofollow" = target=3D"_blank">https://github.com/donaldsonjw/srfi14</a>>. As with th= e sample implementations, they are limited to iso-latin 1 but hopefully wil= l still be useful to some.<br clear=3D"none">> <br clear=3D"none">> T= hank you. These are among the most useful and widely used SRFIs.<br clear= =3D"none">> <br clear=3D"none">> Marc Feeley and John Cowan can advis= e how to implement SRFI 14 for the full Unicode range. Marc designed a simp= le and efficient data structure for encoding subsets of the Unicode charact= er set. I don't know whether it has been incorporated into Gambit yet.<br c= lear=3D"none">> <br clear=3D"none"><br clear=3D"none">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 differen= ces that seem to be due to differences in how =E2=80=9Cnumeric characters= =E2=80=9D are defined in R6RS and R7RS specs).<br clear=3D"none"><br clear= =3D"none">The implementation creates all the data structures by analyzing t= he Unicode database files. These files are the main ones implementing SRFI = 14:<br clear=3D"none"><br clear=3D"none"><a shape=3D"rect" href=3D"https://= github.com/gambit/gambit/blob/master/lib/gambit/char/char%23.scm" rel=3D"no= follow" target=3D"_blank">https://github.com/gambit/gambit/blob/master/lib/= gambit/char/char%23.scm</a><br clear=3D"none"><br clear=3D"none"><a shape= =3D"rect" href=3D"https://github.com/gambit/gambit/blob/master/lib/gambit/c= har/char.scm" rel=3D"nofollow" target=3D"_blank">https://github.com/gambit/= gambit/blob/master/lib/gambit/char/char.scm</a><div class=3D"ydpdc9e13c5yqt= 5661793261" id=3D"ydpdc9e13c5yqtfd57416"><br clear=3D"none"><br clear=3D"no= ne">Marc Feeley<br clear=3D"none"><br clear=3D"none"><br clear=3D"none"></d= iv></div></div> </div> </div></body></html> ------=_Part_9614191_1981543691.1704582831192--