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

Make Chicken Scheme implementation compatible with Chicken 5 #4

Merged
merged 1 commit into from Aug 4, 2020

Conversation

nmeum
Copy link
Contributor

@nmeum nmeum commented Aug 4, 2020

Hi,

I honestly don't really know much about this whole SRFI standardization process. I just found this SRFI very interesting and wanted to play around with using Chicken Scheme. Unfortunately, the provided implementation does not seem to work with Chicken 5 though this can be easily fixed using the changes proposed here. As I said, I am unfamiliar with SRFI standardization and don't know if you accept such compatibility changes after the SRFI has been finalized.

With the changes proposed here the srfi-151/chicken-test.scm test cases pass successfully with Chicken 5. Though one has to manually install srfi-151.scm as a module beforehand or add (include "srfi-151.scm") to chicken-test.scm. I am not sure how this was handled in Chicken 4. I am also unsure why chicken-test.scm is duplicated in the repository root, should that file be modified as well?


This PR performs the following changes:

  • Fixed imports of chicken base functionality
  • Replaced remove use procedure with import
  • Changed imports of old numbers module to new bitwise module

This includes the following changes:

* Fixed imports of chicken base functionality
* Replaced remove `use` procedure with `import`
* Changed imports of old `numbers` module to new `bitwise` module
@arthurgleckler arthurgleckler merged commit 3dcb397 into scheme-requests-for-implementation:master Aug 4, 2020
@arthurgleckler
Copy link
Contributor

arthurgleckler commented Aug 4, 2020 via email

@nmeum
Copy link
Contributor Author

nmeum commented Aug 5, 2020

Thanks for your work on SRFI standardization! :)

I noticed one more think though: srfi-151/chicken-test.scm and srfi-151/srfi-151.scm don't have a license header (contrary to other scheme files). Is that intended? Would it be possible to add one? I am asking because I would like to ship this code as a CHICKEN egg to ease installation for CHICKEN users.

Hope you don't mind me asking this here.

@arthurgleckler
Copy link
Contributor

arthurgleckler commented Aug 5, 2020 via email

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