> On 14 Jul 2018, at 20:45, Matt Wette <matt.we...@gmail.com> wrote: > > On 07/14/2018 09:22 AM, Hans Åberg wrote: >>> On 14 Jul 2018, at 15:53, William ML Leslie <william.leslie....@gmail.com> >>> wrote: >>> >>> On 14 July 2018 at 12:57, Brett Gilio >>> <bre...@posteo.net> >>> 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
Yes, that is what I asked for, to be able to create objects in one language and interact with the same objects in another.