3 ms·
I am currently looking into simple options for using Scheme as a scripting language in a game written in C. So far, s7 made a good impression for embedding it,
by fgh 2mo ago
I am currently looking into simple options for using Scheme as a scripting language in a game written in C. So far, s7 made a good impression for embedding it, but I am also not that far into evaluating the actual performance. I looked a bit at Chicken, and it seemed possible to embed, but too complicated for my purposes.
- ziotom78 2mo agoI would use Guile for that, its documentation about how to use it as a scripting language within a C program is excellent. It is being used by many projects for this purpose: GNU Cash, Lilypond, GNU Guix... I don't know about games, however.
- fgh 2mo agoI had a look at Guile as well and it is great - but the simplicity of embedding s7 with just one header and C file made me go with it now. But for a more complex case, I would love to try Guile.