Thanks for all that info! I'll fix the r7rs.scm
file name stuff, probably tomorrow.
___
Cmdist mailing list
Cmdist@ccrma.stanford.edu
https://cm-mail.stanford.edu/mailman/listinfo/cmdist
does any other scheme treat the names that way?
Chibi’s module handling is similar to Guile:
modules are searched for in a module load path. The definition of the
module (foo bar baz) is searched for in the file "foo/bar/baz.sld".
http://synthcode.com/scheme/chibi#h3_ModuleSystem
Chicken do
On the guile library filename handling, does any other scheme
treat the names that way? I have added the rest of the built-in
libaries to r7rs.scm: eval, process-context, case-lambda, lazy,
load, and repl. s7 ignores these import statements.
(display "hi" (current-error-port))
works for me.
Thanks. (*s7* 'filenames) should be (*s7* 'file-names).
If you don't want the libc stuff, just comment out the
(require libc.scm) at the top of the file. I didn't
realize that r7rs thinks current-output-port is a built-in
parameter object. It isn't in s7 -- sorry.
Thanks! I'll merge those changes into my version.
r7rs.scm can almost pass the chibi r7rs tests -- if I
had 2 minutes of uninterrupted time, I'd be done.
___
Cmdist mailing list
Cmdist@ccrma.stanford.edu
https://cm-mail.stanford.edu/mailman/listinfo/cmd
Do you know if there is a test suite for the r7rs additions?
There are a lot of tests in the chibi-scheme repo, e.g.:
https://github.com/ashinn/chibi-scheme/blob/master/tests/r7rs-tests.scm
I’m not sure if that’s what you were seeking, but hopefully it’s
useful. It appears to cover many R7RS
As a beginner, I ask: Do you approve?
Yes.
(It also made me scared to use the R7RS features!)
Do you know if there is a test suite for the r7rs additions?
To finish the job, I made the libraries load *implicitly* with …
Oh, I assumed the libraries were already loaded -- could you send
me
Thanks Iain, great observations and info. Yes, we’ve read s7.html many
times and will continue to do so. There’s a lot of great info there!
(We’ve found many of the included scm files are also good sources
too.)
FYI, we’re looking at adopting R7RS more as a future-proofing strategy
than “we n
The with-exception definition in r7rs.scm probably should be
(define (with-exception-handler handler thunk)
(catch #t thunk (lambda args (apply handler args
The define-library code dates from the days (years ago)
when s7's define-macro returned the symbol rather than
the value. Also, I ap
Hi Rudolf, Bill would be the person to address this better than me, but I
think the Egghead team should read through the s7.html page pretty closely
to see if s7 is a good fit. It's pretty clear in there that there is
*limited* R7RS compatibility, but that s7 is not R7RS and nor is that a
stated go
10 matches
Mail list logo