Hi Wolfgang,
I am not an expert in Guile, but on my box it is able to run
guile --no-auto-compile --r7rs xm11.scm
up the point where it can't find define-record-type (see partial trace below).
Have you tried running xm11.scm on your installation? It does not use any library
features, so it is not a test on how well Guile follows R7RS in its --r7rs mode.
If it runs the same way on yours, my guess would be that the basic functionality
works, but making a library for Guile would involve some porting.
-S
...
ok : (program (let ((if (if x list values))) (if 1 2 3)))
all tests passed
Backtrace:
3 (primitive-load "/mnt/<...>/work/srfi/s…")
In ice-9/eval.scm:
213:21 2 (_ #f)
223:20 1 (proc #<directory (guile-user) 55f02a96df00>)
In unknown file:
0 (%resolve-variable (7 . define-record-type) #<directory…>)
ERROR: In procedure %resolve-variable:
Unbound variable: define-record-type
On Monday, November 24, 2025 10:05:58 PM (-05:00), Wolfgang Corcoran-Mathe wrote:
> Hi Sergei,
>
> All tests pass on chibi-scheme. I ran into the following error when
> running them on Guile (after linking 257.sld to srfi-257.sld):
>
> xxxxxx@xanthus$ guile --no-auto-compile --r7rs -L . -l srfi-257-test.scm
> %%%% Starting test srfi-257 (Writing full log to "srfi-257.log")
> WARNING: (guile-user): imported module (scheme base) overrides core binding `expt'
> WARNING: (guile-user): imported module (scheme base) overrides core binding `member'
> ice-9/psyntax.scm:2838:12: In procedure syntax-violation:
> Syntax error:
> srfi-257-test.scm:530:7: _: bad use of '_' syntactic keyword in subform (_ _ _) of (_ _ _)
>
> I'm not sure what the problem is.
>