Thread overview
MetaCall Polyglot is now available form D
Aug 11, 2020
Atwork
Aug 14, 2020
Andrea Fontana
Aug 14, 2020
WebFreak001
August 04, 2020
Hey guys I am working on an open source polyglot called MetaCall which allows calling functions between languages. Recently a contributor has implemented support for DLang (Port), which means you can use MetaCall from D to call functions in C#, NodeJS, JavaScript, TypeScript, Ruby, Python, Cobol..

I would like to know what do you think about that, and if you see it useful for embedding other languages in D, for example to allow scripting to extend a project. Any feedback will be highly appreciated.

I leave here the link of the repository: https://github.com/metacall/core

If someone is interested in the D port you can find the source here: https://github.com/metacall/dlang-port
August 11, 2020
On Tuesday, 4 August 2020 at 22:25:19 UTC, Vicente Eduardo Ferrer Garcia wrote:
> Hey guys I am working on an open source polyglot called MetaCall which allows calling functions between languages. Recently a contributor has implemented support for DLang (Port), which means you can use MetaCall from D to call functions in C#, NodeJS, JavaScript, TypeScript, Ruby, Python, Cobol..
>
> I would like to know what do you think about that, and if you see it useful for embedding other languages in D, for example to allow scripting to extend a project. Any feedback will be highly appreciated.
>
> I leave here the link of the repository: https://github.com/metacall/core
>
> If someone is interested in the D port you can find the source here: https://github.com/metacall/dlang-port

This is actually useful to me.

Thanks
August 14, 2020
On Tuesday, 4 August 2020 at 22:25:19 UTC, Vicente Eduardo Ferrer Garcia wrote:
> [...]
> If someone is interested in the D port you can find the source here: https://github.com/metacall/dlang-port


Nice! Maybe you can use a bit of syntax sugar for D. Check this example:
https://run.dlang.io/is/TKkmbe

Andrea

August 14, 2020
On Friday, 14 August 2020 at 07:59:23 UTC, Andrea Fontana wrote:
> On Tuesday, 4 August 2020 at 22:25:19 UTC, Vicente Eduardo Ferrer Garcia wrote:
>> [...]
>> If someone is interested in the D port you can find the source here: https://github.com/metacall/dlang-port
>
>
> Nice! Maybe you can use a bit of syntax sugar for D. Check this example:
> https://run.dlang.io/is/TKkmbe
>
> Andrea

here is some alternative syntactic sugar with opDispatch: https://run.dlang.io/is/cdcLux
August 20, 2020
On Friday, 14 August 2020 at 08:04:54 UTC, WebFreak001 wrote:
> On Friday, 14 August 2020 at 07:59:23 UTC, Andrea Fontana wrote:
>> On Tuesday, 4 August 2020 at 22:25:19 UTC, Vicente Eduardo Ferrer Garcia wrote:
>>> [...]
>>> If someone is interested in the D port you can find the source here: https://github.com/metacall/dlang-port
>>
>>
>> Nice! Maybe you can use a bit of syntax sugar for D. Check this example:
>> https://run.dlang.io/is/TKkmbe
>>
>> Andrea
>
> here is some alternative syntactic sugar with opDispatch: https://run.dlang.io/is/cdcLux

This approach seems pretty clean. I like it.

I have created a new issue for it: https://github.com/metacall/dlang-port/issues/1

Any contribution is welcome. Thanks for sharing.