Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xudifsd/libsi
C library for interpreting scheme
https://github.com/xudifsd/libsi
Last synced: 18 days ago
JSON representation
C library for interpreting scheme
- Host: GitHub
- URL: https://github.com/xudifsd/libsi
- Owner: xudifsd
- Created: 2013-01-29T03:11:12.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2021-09-11T20:37:21.000Z (about 3 years ago)
- Last Synced: 2024-07-31T22:57:00.744Z (3 months ago)
- Language: C
- Homepage:
- Size: 69.3 KB
- Stars: 18
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
libsi
=====C library for interpret scheme
##install library
$ sudo apt install flex libgc-dev
$ make && sudo make installit also includes a tiny demo which is under `si` directory
##compile demo$ make demo
##try demo
because demo could not use libreadline itself(libreadline and libgc both use heap),
so recommend you use following command:$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
$ cd si && rlwrap ./siIn demo, you could try following function
si> (map (lambda (x) (+ x 20)) '(1 2 3))
si> (map (lambda (x) (let ((a (+ x 1)) (b (+ x 2))) (+ a b))) '(1 2 3))Hope you enjoy it.
Dependency
=====The library itself requires `libgc` and `libm`