justinethier / husk-scheme

A full implementation of the Scheme programming language for the Haskell Platform.
http://justinethier.github.io/husk-scheme
MIT License
309 stars 28 forks source link

Non sense error when trying to load SRFI-13 reference implementation #205

Closed felipelalli closed 8 years ago

felipelalli commented 8 years ago

Reference implementation: http://srfi.schemers.org/srfi-13/srfi-13.scm

➜  huski srfi-13.scm
Input does not match a macro pattern: (string-fill! target (string-ref s start) tstart tend)
justinethier commented 8 years ago

This should be fixed now. I verified srfi-13.scm loads but haven't tested it at all...

felipelalli commented 8 years ago

@justinethier I'm sorry, I didn't understand what you have said. Could you please be more specific / clear? Thank you.

justinethier commented 8 years ago

This works:

huski> (load "srfi-13.scm" )
(lambda (strings . delim+grammar) ...)

I have not actually tested what was loaded from srfi-13.scm though.

felipelalli commented 8 years ago

This does not work to me:

 Version 3.19.1 

huski> (load "srfi-13.scm")
Input does not match a macro pattern: (string-fill! target (string-ref s start) tstart tend)

Am I missing something? Old version? Which version should I use?

Thank you.

justinethier commented 8 years ago

I just checked in the changes. You need to get the latest version 3.19.2 from the master branch.

justinethier commented 8 years ago

It is linked: https://github.com/justinethier/husk-scheme/issues/205#ref-commit-92504c3