guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multi-lingual guile: language strictness


From: Matt Wette
Subject: Re: multi-lingual guile: language strictness
Date: Sat, 14 Jul 2018 11:45:42 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]