cyclone/examples/call-scm-from-c
Justin Ethier 065a3a9d48 Grammar
2020-08-14 17:52:12 -04:00
..
basic-no-gc.scm Relocate files 2020-08-11 19:02:05 -04:00
basic.c Clean up examples 2020-08-14 16:48:59 -04:00
basic.h Clean up examples 2020-08-14 16:48:59 -04:00
full-with-gc.scm Clean up examples 2020-08-14 16:48:59 -04:00
full.c Clean up examples 2020-08-14 16:48:59 -04:00
full.h Clean up examples 2020-08-14 16:48:59 -04:00
Makefile Clean up examples 2020-08-14 16:48:59 -04:00
Readme.md Grammar 2020-08-14 17:52:12 -04:00

This directory contains two sample applications to demonstrate how to call into Scheme code from C.

full-with-gc.scm - A sample application demonstrating how to call arbitrary Scheme code from C in a safe way. This is the recommended method and would be the best place to start when building your own applications.

basic-no-gc.scm - A sample application to demonstrate how to make simple, limited calls into Scheme code from C. This method is more efficient but also has significant limitations. See the code for more information.