Thread overview | |||||
---|---|---|---|---|---|
|
July 04, 2007 Embedding PHP into D, and ruby for that matter. | ||||
---|---|---|---|---|
| ||||
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. |
December 08, 2008 Re: Embedding PHP into D, and ruby for that matter. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joshua | 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.
|
December 08, 2008 Re: Embedding PHP into D, and ruby for that matter. | ||||
---|---|---|---|---|
| ||||
Posted in reply to poly | 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: >> 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. The D newsgroups is dead. Please use digitalmars.D instead. Thank you. -- Simen |
Copyright © 1999-2021 by the D Language Foundation