Reference implementation dependencies? Peter Bex (15 Oct 2013 17:40 UTC)
Re: Reference implementation dependencies? John Cowan (15 Oct 2013 18:51 UTC)
Re: Reference implementation dependencies? Peter Bex (15 Oct 2013 19:10 UTC)

Re: Reference implementation dependencies? Peter Bex 15 Oct 2013 19:07 UTC
On Tue, Oct 15, 2013 at 02:27:54PM -0400, John Cowan wrote:
> Peter Bex scripsit:
>
> > I just tried the reference implementation in CHICKEN, but it gave me
> > several warnings upon load, and errors when trying to use something:
>
> It's a Chibi-specific library for efficient iteration in UTF-8 strings.
> https://code.google.com/p/chibi-scheme/source/browse/lib/chibi/regexp.sld
> (the R7RS library file) includes a cond-expand that provides a portable
> implementation.  Just convert it to a Chicken module, which is trivial.

It also seems to be broken.  I fiddled with it for a bit, and came up
with the attached patch.  Hopefully it's correct...

Cheers,
Peter
--
http://www.more-magic.net