Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

Re: [PHP3] PHP and compiler ? From: Michael J. Miller Jr. (mke <email protected>)
Date: 07/31/98

On Fri, 31 Jul 1998, Rasmus Lerdorf wrote:

> > does the question is certainly idiot.
> > but, php is a language interpreter, exist a possibility or project of compiler to obtain a executable ?
>
> No. It would be quite a complex project to create a PHP compiler.

If somebody were thinking of doing this (And I'm not saying I view
it as a good idea.) I'd suggest looking at the GNU compiler stuff.
As I remeber they have the front end of their compilers generate a
lisp like intermediate format that is then fed to a CPU specific
back end for optimization and compilation. Thus you would only have
to write a PHP compiler front end to generate the intermediate code,
and the gcc stuff would take care of the rest...

Mike Miller mke @ netcom.com
Maintainer of the MySQL Documentation Project and Web Pages.
 See: http://www.turbolift.com/mysql and http://www.tcx.se for more details.
Home Page: http://www.turbolift.com/mke

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3