D - Embedding PHP into D, and ruby for that matter.
- Joshua (8/8) Jul 03 2007 I am building a GA in D and part of the analysis I need to do involves
- poly (7/17) Dec 08 2008 hi Joshua,
- Simen Kjaeraas (4/24) Dec 08 2008 The D newsgroups is dead. Please use digitalmars.D instead. Thank you.
I am building a GA in D and part of the analysis I need to do involves evaluating chunks of PHP code. I have found a few posts about getting php-embed to work in D but no links to a how to or other example. Has anyone tried it? The main advantage for me would be to be able to process the code directly from the server instead of having to use the php CLI. Plus I think it would be neat to just see it working in D :) And I would like to do the same thing with ruby but I think the ruby portion is a lot easier.
Jul 03 2007
hi Joshua, You've mentioned something about Ruby, too. I've done once a ruby interpreter plugin for a D project. To do this I used a dummy-c-dll and used it in D. I dont know if this can be done easier!? I hope this helps you. regards, pimp Joshua schrieb:I am building a GA in D and part of the analysis I need to do involves evaluating chunks of PHP code. I have found a few posts about getting php-embed to work in D but no links to a how to or other example. Has anyone tried it? The main advantage for me would be to be able to process the code directly from the server instead of having to use the php CLI. Plus I think it would be neat to just see it working in D :) And I would like to do the same thing with ruby but I think the ruby portion is a lot easier.
Dec 08 2008
On Mon, 08 Dec 2008 09:12:31 +0100, poly <p0lycyb0rg gmail.com> wrote:hi Joshua, You've mentioned something about Ruby, too. I've done once a ruby interpreter plugin for a D project. To do this I used a dummy-c-dll and used it in D. I dont know if this can be done easier!? I hope this helps you. regards, pimp Joshua schrieb:The D newsgroups is dead. Please use digitalmars.D instead. Thank you. -- SimenI am building a GA in D and part of the analysis I need to do involves evaluating chunks of PHP code. I have found a few posts about getting php-embed to work in D but no links to a how to or other example. Has anyone tried it? The main advantage for me would be to be able to process the code directly from the server instead of having to use the php CLI. Plus I think it would be neat to just see it working in D :) And I would like to do the same thing with ruby but I think the ruby portion is a lot easier.
Dec 08 2008