www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - MetaCall Polyglot is now available form D

reply Vicente Eduardo Ferrer Garcia <vic798 gmail.com> writes:
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 

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
Aug 04
next sibling parent Atwork <fwafwa fwfafa.com> writes:
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 

 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
Aug 11
prev sibling parent reply Andrea Fontana <nospam example.com> writes:
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
Aug 14
parent reply WebFreak001 <d.forum webfreak.org> writes:
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
Aug 14
parent Vicente Eduardo Ferrer Garcia <vic798 gmail.com> writes:
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.
Aug 20