This is a project for collection of R7RS SRFI implementations.
Make sure you have Gauche installed and run:
git clone https://github.com/srfi-explorations/srfi-test.git
make -C srfi-test
./generate
make test-IMPLEMENTATION-srfi-N
With compiler implementations run the tests for SRFIs the SRFI you want to test needs to build them.
Add files:
- srfi/N.sld
- Library definition
- srfi/N.scm
- Library body/content
- srfi/N.rkt
- Shim file to support Racket
You should be able to deduct what the contents of these files are from other SRFI implementations in this repository.
Every SRFI needs corresponding test file in test repository. The test file needs to be named N.scm.
Add the SRFI data into srfis.scm.
Add the implementation data into implementations.scm, keep the order alphabetical. The first SRFI you port to any new implementation should be SRFI-64. As it's the test suite used in SRFI tests.
- SRFI-64
- https://github.com/fisherro/snow-srfi-64
- https://mdhughes.tech/2020/02/27/scheme-test-unit/
- https://wolfsden.cz/blog/post/state-of-srfi-64.html
- https://github.com/mnieper/scheme-libraries-fork/blob/main/lib/scheme-libraries/testing.sls
- This should produce TAP output
- tr7 does not have (scheme complex) support as the time of writing (2024-09-28)