Embed JavaScript into D

Jeroen Bollen jbinero at gmail.com
Mon Nov 4 12:57:26 PST 2013


On Monday, 4 November 2013 at 20:43:46 UTC, John Colvin wrote:
> 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/

The reason I'm not picking up any of these is purely based on my 
opinion, I hate developping in LUA or Python. Are there no 
JavaScript / PHP bindings available yet?


More information about the Digitalmars-d-learn mailing list