Go to file
retropikzel bbb652eda5 Much more passing tests 2025-04-30 20:32:04 +03:00
dockerfiles Fixing testing 2025-02-28 14:01:14 +02:00
documentation Improved portability a lot. Started export renaming. 2025-04-25 18:01:24 +03:00
foreign Much more passing tests 2025-04-30 20:32:04 +03:00
templates Cleanup 2025-04-20 07:12:27 +03:00
tests Much more passing tests 2025-04-30 20:32:04 +03:00
.gitignore Git commit renaming and restructuring the library 2025-04-26 12:21:02 +03:00
Jenkinsfile Use compile-r7rs for testing. Create entries for all implementations in makefile. 2025-04-18 05:55:31 +03:00
LICENSE Fix tests, add pffi-os-name 2024-07-31 21:14:38 +03:00
Makefile Git commit renaming and restructuring the library 2025-04-26 12:21:02 +03:00
OLD_README.md Much more passing tests 2025-04-30 20:32:04 +03:00
README.md Much more passing tests 2025-04-30 20:32:04 +03:00
package.scm Git commit renaming and restructuring the library 2025-04-26 12:21:02 +03:00

README.md

title version
Portable Foreign Function Interface for R7RS Documentation 0.10.0

(foreign c)

(foreign c) is a C foreign function interface (FFI) library for R7RS. It is portable in the sense that it supports multiple implementations, as opposed to being portable by conforming to some specification.

The new readme is a work in progress.

Implementation table

Primitives 1

| | c-size-of | c-bytevector-u8-set! |c-bytevector-u8-ref | define-c-library | c-bytevector? | define-c-procedure | |------------------|:------------:|:------------------- :|-------------------:|:-------------------:|:-------------:|:-------------------:| | Chibi | X | X |X | X | X | X | | Chicken | X | X |X | X | X | X | | Gauche | X | X |X | X | X | X | | Guile | X | X |X | X | X | X | | Kawa | X | X |X | X | X | X | | Mosh | X | X |X | X | X | X | | Racket | X | X |X | X | X | X | | Saggittarius | X | X |X | X | X | X | | Stklos | X | X |X | X | X | X | | Ypsilon | X | X |X | X | X | X |

Primitives 2

define-c-callback
Chibi
Chicken X
Gauche
Guile X
Kawa
Mosh X
Racket X
Saggittarius X
Stklos
Ypsilon X

Test files pass

primitives.scm addressof.scm callback.scm
Chibi X X
Chicken X X X
Gauche X X
Guile X X X
Kawa X X
Mosh X X
Racket X
Saggittarius X X X
Stklos X X
Ypsilon X X