Re: Problem loading sample implementation in Chibi Alex Shinn 09 Jan 2022 22:24 UTC

I'm not familiar with SRFI 147 and don't know what :c is supposed to
mean, but a quick glance at the implementation shows it is trivially
broken:

https://github.com/scheme-requests-for-implementation/srfi-147/blob/master/srfi/147/er-macro-transformer.scm#L24

Any call _not_ passing :c will fail to match and give the reported
error.  Simply removing :c from the list of literals should fix it.

--
Alex

On Mon, Jan 10, 2022 at 5:03 AM Arthur A. Gleckler <xxxxxx@speechcode.com> wrote:
>
> On Sun, Jan 9, 2022 at 11:55 AM Marc Nieper-Wißkirchen <xxxxxx@gmail.com> wrote:
>>
>> Do the SRFI 147 tests work with Chibi?
>>
>> PS: SRFI 148 was developed with Chibi so it worked at that time.
>
>
> Hmm.  No.  Here are the results:
>
> > cd ../srfi-147/
> > chibi-scheme -Isrfi -m '(srfi 147)' -l tests.scm
> ERROR on line 35 of file ./srfi/147/er-macro-transformer.scm: invalid er-macro-transformer syntax
>   called from <anonymous> on line 206 of file /usr/local/share/chibi/meta-7.scm
>   called from <anonymous> on line 1179 of file /usr/local/share/chibi/init-7.scm
>   called from <anonymous> on line 796 of file /usr/local/share/chibi/init-7.scm
>   called from eval on line 1240 of file /usr/local/share/chibi/init-7.scm
>   called from for1 on line 81 of file /usr/local/share/chibi/init-7.scm
>   called from for1 on line 81 of file /usr/local/share/chibi/init-7.scm
>   called from <anonymous> on line 796 of file /usr/local/share/chibi/init-7.scm
>   called from call-with-current-continuation on line 823 of file /usr/local/share/chibi/init-7.scm
>   called from <anonymous> on line 255 of file /usr/local/share/chibi/init-7.scm
>   called from <anonymous> on line 245 of file /usr/local/share/chibi/meta-7.scm
>   called from <anonymous> on line 432 of file /usr/local/share/chibi/meta-7.scm
>
> >
>
> CC-ing Alex in case he has an idea.