Updated readme

This commit is contained in:
retropikzel 2024-05-18 17:00:39 +03:00
parent 8e1e8230b2
commit 069ffadaad
1 changed files with 22 additions and 1 deletions

View File

@ -1,5 +1,26 @@
# Portable Foreign Function Interface for R7RS schemes
An attempt to make basic foreign function interface that is supported on
multiple R7RS Sceheme implementations.
Pull requests to fix bugs and add more tests are welcome.
## Goals
- Support only R7RS implementations
- Needs to have cond-expand and library support atleast (propably much more)
- Same interface on all implementations
- Some things that are procedures on one implementation are macros on other,
but they must behave the same
## Non goals
- To support all R7RS implementations
- To have every possible FFI feature
- Compiling of C code at any point
- That is no stubs, no C code generated by the library and so on
For bugs you can use the
[Bugs](https://codeberg.org/r7rs-pffi/pffi/projects/9101)
@ -74,7 +95,7 @@ Types are given as symbols, for example 'int8 or 'pointer.
### Procedures or macros
#### pffi-shared-object-auto-load object-name additional-paths
#### pffi-shared-object-auto-load
Arguments: