Embed JavaScript into D
John Colvin
john.loughran.colvin at gmail.com
Mon Nov 4 12:43:44 PST 2013
On Monday, 4 November 2013 at 20:18:19 UTC, Jeroen Bollen wrote:
> On Monday, 4 November 2013 at 19:45:23 UTC, Dicebot wrote:
>> On Monday, 4 November 2013 at 19:35:55 UTC, Jeroen Bollen
>> wrote:
>>> Is there a way I can embed javascript into my D application?
>>> I basically want to create a modular application which allows
>>> adding and removing plugins by dragging and dropping them
>>> into a folder. I love the idea of them being editable on the
>>> fly.
>>
>> Don't know about JavaScript but there is a well-maintained Lua
>> integration library : https://github.com/JakobOvrum/LuaD
>>
>> Also with dmd compilation speeds you actually can just
>> compiler shared library binaries of the fly from D plugin
>> sources and get pretty much the same thing with pure D.
>
> I would still prefer to use a scripting language though because
> of a lot of removed complexity for simple tasks.
LuaD is great. There is also https://bitbucket.org/ariovistus/pyd/
More information about the Digitalmars-d-learn
mailing list