Implementation of SRFI-138: Compiling Scheme programs to executables made with POSIX Shell.
- Shell 74.7%
- Makefile 25.3%
| .gitignore | First version | |
| compile-r7rs | Sagittarius improvements | |
| configure | Add configure file | |
| Dockerfile.alpine.test | Alpine linux support ( #2 ) | |
| Dockerfile.jenkins | Add Shellcheck to Jenkins | |
| Dockerfile.test | Add support for Gambit | |
| Jenkinsfile | Add Shellcheck to Jenkins | |
| Makefile | Add uninstall | |
| README.md | Fix typo in readme | |
Implementation of SRFI-138: Compiling Scheme programs to executables made with POSIX Shell.
Usage
COMPILE_R7RS=${SCHEME} compile-r7rs -o main -I libs -A other_libs main.scm
./main
Supported implementations
- capyscheme
- chezscheme
- chibi
- chicken
- cyclone
- foment
- gauche
- guile
- ikarus
- ironscheme
- kawa
- larceny
- loko
- meevax
- mosh
- mit-scheme
- racket
- sagittarius
- skint
- stklos
- tr7
- ypsilon
How it works
With compilers, it compiles. With interpretes it creates a script file which contains shebang to run the implementation with given -I and -A paths and contents of input file (.sps or .scm).
Misc
- No support for -D yet.