On 07/14/2018 09:22 AM, Hans Åberg wrote:
On 14 Jul 2018, at 15:53, William ML Leslie <address@hidden> wrote:
On 14 July 2018 at 12:57, Brett Gilio <address@hidden> wrote:
Is this possibility for making Guile multi-lingual a promised feature,
or more of a wishlist type thing? I'll have to think about some ways
that might be good to approach this, because the limiting
volunteer-community is definitely going to be an issue.
It's already a thing.
https://www.gnu.org/software/guile/manual/html_node/Other-Languages.html
Is it possible to call them at the same time, via the C interface?
I would think so. In general all languages see the same name space.
scheme@(guile-user)> ,L ecmascript
Happy hacking with ECMAScript! To switch back, type `,L scheme'.
ecmascript@(guile-user)> function foo(x) { return x + 1; };
ecmascript@(guile-user)> foo(1);
$1 = 2
ecmascript@(guile-user)> ,L scheme
Happy hacking with Scheme! To switch back, type `,L ecmascript'.
scheme@(guile-user)> (foo 1)
$2 = 2
|