|
From: | Pippo Sbardella |
Subject: | Re: [Chicken-users] Chicken as extension language |
Date: | Wed, 29 Aug 2012 11:41:11 +0200 |
Hello,
you may want to check the documentation on embedding CHICKEN into other applications:
http://wiki.call-cc.org/man/4/Embedding
To make the embedded CHICKEN interpreter useful, you may have to expose functions from CHICKEN to the hosting application, which is easily accomplished using define-external:
http://wiki.call-cc.org/man/4/Callbacks#define-external
And the other way around, you may have to expose functions from the hosting application to CHICKEN, which is equally possible using the various foreign-* forms:
http://wiki.call-cc.org/man/4/Accessing%20external%20objects
If these pieces of documentation leave you with any open questions, don't hesitate to ask for specific advice on this list :-)
Ciao,
Thomas
--
When C++ is your hammer, every problem looks like your thumb.
[Prev in Thread] | Current Thread | [Next in Thread] |