Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compatibility chart #52

Open
jcubic opened this issue Aug 18, 2021 · 3 comments
Open

Add compatibility chart #52

jcubic opened this issue Aug 18, 2021 · 3 comments

Comments

@jcubic
Copy link
Contributor

jcubic commented Aug 18, 2021

It seems that different Scheme implementation works differently in terms of loading R7RS. If we have R7RS code that doesn't work the same out of the box we should list all major implementations and show how to use the code.

An example is bytevector? in Chicken Scheme discussed in #46 also guile use some other code to use R7RS otherwise some of the code may don't work.

I would add a table (markdown support tables, at least on GitHub) with a matrix:

Scheme file REPL
Chiken ... ...
Guile ... ...
Kawa ... ...
@lassik
Copy link
Member

lassik commented Aug 18, 2021

@lassik
Copy link
Member

lassik commented Aug 18, 2021

The core features of Scheme have been the same for decades, and work in R5RS, R6RS, and R7RS as well as most implementations in non-standard mode. Many of the list, vector, and string procedures are like that.

Some code requires R6/R7, or only R6 or R7, or a particular implementation. We could add a note to those. I've been trying to mention on the cookbook page if a code snippet requires SRFIs or non-standard stuff.

@jcubic
Copy link
Contributor Author

jcubic commented Aug 18, 2021

We can link to that page from the cookbook. This is exactly what I have in mind.
But I think it should be updated for REPL at least in Guile to load SRFI you use a different code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants