Re: Embed JavaScript into D

2013-11-05 Thread Jacob Carlborg
On 2013-11-04 20:35, 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. I have

Re: Embed JavaScript into D

2013-11-05 Thread Adam D. Ruppe
On Tuesday, 5 November 2013 at 06:36:48 UTC, Jeroen Bollen wrote: I'm probably going with spidermonkey then. Didn't really know it had a C API... Thanks. :P If your bindings end up being reusable, be sure to post them here so next time someone asks this, I can link to that too!

Re: Embed JavaScript into D

2013-11-04 Thread Jeroen Bollen
On Monday, 4 November 2013 at 22:22:32 UTC, Max Klyga wrote: On 2013-11-04 21:20:46 +, Adam D. Ruppe said: 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? You could use any C javascript lib too, but for ones al

Re: Embed JavaScript into D

2013-11-04 Thread Dejan Lekic
On Mon, 04 Nov 2013 20:35:53 +0100, 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 editabl

Re: Embed JavaScript into D

2013-11-04 Thread Max Klyga
On 2013-11-04 21:20:46 +, Adam D. Ruppe said: 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? You could use any C javascript lib too, but for ones already wrapped or something, I know there's a few D implementa

Re: Embed JavaScript into D

2013-11-04 Thread Adam D. Ruppe
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? You could use any C javascript lib too, but for ones already wrapped or something, I know there's a few D implementations of javascript: dmdscript

Re: Embed JavaScript into D

2013-11-04 Thread John Colvin
On Monday, 4 November 2013 at 21:07:38 UTC, Dicebot wrote: On Monday, 4 November 2013 at 20:57:28 UTC, Jeroen Bollen wrote: 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? But

Re: Embed JavaScript into D

2013-11-04 Thread Dicebot
On Monday, 4 November 2013 at 20:57:28 UTC, Jeroen Bollen wrote: 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? None that are widely known at least. There can always be some h

Re: Embed JavaScript into D

2013-11-04 Thread Jeroen Bollen
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

Re: Embed JavaScript into D

2013-11-04 Thread John Colvin
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 applicat

Re: Embed JavaScript into D

2013-11-04 Thread Jeroen Bollen
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 drop

Re: Embed JavaScript into D

2013-11-04 Thread Dicebot
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 edit