SRFI 150 sample implementation Sudarshan S Chawathe (03 Dec 2017 23:30 UTC)
Re: SRFI 150 sample implementation Marc Nieper-Wißkirchen (08 Dec 2017 14:08 UTC)
Re: SRFI 150 sample implementation Marc Nieper-Wißkirchen (08 Dec 2017 15:37 UTC)

Re: SRFI 150 sample implementation Marc Nieper-Wißkirchen 08 Dec 2017 14:08 UTC

Thank you very much for your report.

The sample implementation is based on SRFI 148 (in particular, to
demonstrate the capabilities of the macro system proposed in SRFI 148).
However, the sample implementation of SRFI 148 has undergone a few
changes, making it compatible with recent versions of Chibi and Larceny
(see the mailing list of SRFI 148 where the issue - namely how literals
are matched in syntax-rules macros - is discussed at length).

The implementation of SRFI 148 included in the sample implementation of
SRFI 150 was never updated. I am going to send a pull request with
updates to Arthur, so that it will be fixed (and you might try the
corrected version).

Best,

Marc

Am 04.12.2017 um 00:29 schrieb Sudarshan S Chawathe:
> I suspect I am missing something obvious but I have not been able to
> get the sample implementation of SRFI 150 to run.  With Chibi, I get
> the following error message when I 'make' with the Makefile in the repo:
>
>    ERROR on line 29 of file ./srfi/147.scm: too few ...'s
>
> A fuller transcript is below. For reference, output of "chibi-scheme -V":
>
>    chibi-scheme 0.8.0 "oxygen" (chibi r7rs ratios complex threads
>    full-unicode modules dynamic-loading linux little-endian)
>
> I also tried with Kawa and Larceny without success.  Kawa gives a
> stack overflow and Larceny churns for about 2 minutes before a message
> of the form.
>
>      Syntax violation: syntax-case
>      Repeated pattern variable
>      Subform: quote
>
> I haven't looked at the SRFI 150 implementation in detail so it is
> very likely I am missing something obvious but since it's close to the
> "last call" target time, I'm posting what I have for now.
>
> Regards,
>
> -chaw
>
>
> $ make
> ERROR on line 29 of file ./srfi/147.scm: too few ...'s
>    called from <anonymous> on line 188 of file /home/chaw/local//share/chibi/meta-7.scm
>    called from <anonymous> on line 991 of file /home/chaw/local//share/chibi/init-7.scm
>    called from <anonymous> on line 230 of file /home/chaw/local//share/chibi/init-7.scm
>    called from eval on line 1048 of file /home/chaw/local//share/chibi/init-7.scm
>    called from <anonymous> on line 1072 of file /home/chaw/local//share/chibi/init-7.scm
>    called from <anonymous> on line 230 of file /home/chaw/local//share/chibi/init-7.scm
>    called from <anonymous> on line 230 of file /home/chaw/local//share/chibi/init-7.scm
>    called from for1 on line 71 of file /home/chaw/local//share/chibi/init-7.scm
>    called from for1 on line 71 of file /home/chaw/local//share/chibi/init-7.scm
>    called from <anonymous> on line 230 of file /home/chaw/local//share/chibi/init-7.scm
>    called from call-with-current-continuation on line 667 of file /home/chaw/local//share/chibi/init-7.scm
>    called from <anonymous> on line 173 of file /home/chaw/local//share/chibi/meta-7.scm
>    called from <anonymous> on line 223 of file /home/chaw/local//share/chibi/meta-7.scm
>    called from <anonymous> on line 230 of file /home/chaw/local//share/chibi/init-7.scm
>    called from for1 on line 71 of file /home/chaw/local//share/chibi/init-7.scm
>    called from for1 on line 71 of file /home/chaw/local//share/chibi/init-7.scm
>    called from <anonymous> on line 173 of file /home/chaw/local//share/chibi/meta-7.scm
>    called from <anonymous> on line 222 of file /home/chaw/local//share/chibi/meta-7.scm
>    called from <anonymous> on line 394 of file /home/chaw/local//share/chibi/meta-7.scm
>    called from <anonymous> on line 1070 of file /home/chaw/local//share/chibi/init-7.scm
>    called from <anonymous> on line 230 of file /home/chaw/local//share/chibi/init-7.scm
>    called from <anonymous> on line 640 of file /home/chaw/local//share/chibi/init-7.scm
> Makefile:31: recipe for target 'check' failed
> make: *** [check] Error 70
>
> To unsubscribe from this list please go to http://www.simplelists.com/confirm.php?u=gohaWWilB1k9w7Z85UNiF1gxOMLGp7fu