Re: NEW PHP standalone compiler (was Re: [PHP-DEV] Herewetry again)

From: Date: Fri, 01 Feb 2002 10:47:36 +0000
Subject: Re: NEW PHP standalone compiler (was Re: [PHP-DEV] Herewetry again)
References: 1 2 3 4 5 6  Groups: php.dev 
Request: Send a blank email to php-dev+get-78758@lists.php.net to get a copy of this message
Hello,

"Stig S. Bakken" wrote:
> > > Unless I'm mistaken, Java doesn't have eval.  Any language with eval
> > > needs a runtime environment when executing, even if the rest of the code
> > > is converted to C.
> >
> > I am not expert in Java (actually I don't program in Java - MetaL
> > generates it for me if I ever need it), but I suppose that what eval
> > does is what java.lang.Compiler class is for.
> 
> >From what I can see it's related, but I don't think the language design
> of Zend/PHP is quite up to C generation, at least not yet.  I would like
> nothing more than being proven wrong (by code) though.

Maybe. The way I see it may be as easy as translating Zend bytecodes
into C code that would have to compiled and linked against libphp and
the rest of libraries that may be needed.

Regards,
Manuel Lemos


Thread (47 messages)

« previous php.dev (#78758) next »