[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reference implementation dependencies?



On Wed, Oct 16, 2013 at 4:07 AM, Peter Bex <Peter.Bex@xxxxxxxxx> wrote:
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...

Thanks, I'll apply these.

-- 
Alex