chibi-scheme
chibi-scheme copied to clipboard
Embedding API example code, or a tutorial.
Hi there, Chibi-scheme seems cool. I'm trying to embed it into a C++ app, and I'm running into issues doing so. I'm sure the issues are my lack of understanding about how to use the API, so I'm trying to self-serve by studying the documentation, but there is not much of that. Since Chibi was designed to be embedded, it would be cool if there was a tutorial showing how to do that. I'm aware of this page: http://synthcode.com/scheme/chibi/
...but, unfortunately, it's not enough info to learn to use the API. It's more of an overview.
If a tutorial is too much, then perhaps a set of C test-cases showing the embedding API in action. I looked into the 'tests' directory, but the files there are for testing Scheme code. C API test-cases would do the trick for me.
Regards
The embedding examples in: "/chibi-scheme/tests/foreign" is the type of example code that I would find really useful.
In addition, all the page says about installation is about dynamic libraries, while I need to embed them statically.
https://github.com/ashinn/chibi-scheme/issues/875
Does this help?