Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.67 KB

README.md

File metadata and controls

55 lines (37 loc) · 1.67 KB

R7RS-SRFI

This is a project for collection of R7RS SRFI implementations.

Builds Tests used

Building

Make sure you have Gauche installed and run:

git clone https://github.com/srfi-explorations/srfi-test.git
make -C srfi-test
./generate

Running tests

make test-IMPLEMENTATION-srfi-N

With compiler implementations run the tests for SRFIs the SRFI you want to test needs to build them.

Adding new srfi

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.

Adding new implementation

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.

Code origins, notes, articles and misc.