Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22754 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78006 invoked by uid 1010); 14 Apr 2006 08:07:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 77991 invoked from network); 14 Apr 2006 08:07:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Apr 2006 08:07:06 -0000 X-Host-Fingerprint: 64.233.184.235 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.235:18056] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 1E/11-19715-8285F344 for ; Fri, 14 Apr 2006 04:07:04 -0400 Received: by wproxy.gmail.com with SMTP id 36so495468wra for ; Fri, 14 Apr 2006 01:06:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=dUVhtxHC0etgtK/FGoxzGuLalIYZlloGir1ebn1SWOJmImxsc5hIK4mvCSc3obcQPBam1HngeE2hXXhf+2zvpd8GTicfXWj/EtgHaT3lpvIQxoZENcKtGjUqVHP4CNgCbUFAlfDo1w/r48BFgSTWoKiRMkLVmHd0YggkZYUmTMo= Received: by 10.54.129.6 with SMTP id b6mr1267360wrd; Fri, 14 Apr 2006 01:06:59 -0700 (PDT) Received: by 10.54.103.14 with HTTP; Fri, 14 Apr 2006 01:06:59 -0700 (PDT) Message-ID: <43b5c44e0604140106n12163826u3d63e3bcec7debae@mail.gmail.com> Date: Fri, 14 Apr 2006 10:06:59 +0200 To: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_11288_29606767.1145002019223" References: <43b5c44e0604131328o1158ea20v125fcab35932de7c@mail.gmail.com> Subject: Re: [PHP-DEV] PHP Abstract Syntax Tree From: wcandillon@gmail.com ("William Candillon") ------=_Part_11288_29606767.1145002019223 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I already wrote an program which converts PHP source code to AST but I don'= t understand why the native PHP compiler doesn't use this approach. On 4/14/06, Tomas Matousek wrote: > > Hi William, > if you are interested in converting PHP source code to AST, you may find > the > Phalanger system useful. > See http://php-compiler.net. > > Tomas > > ----- Original Message ----- > Hi, > > Is it planned to modify the PHP compiler in order to create an abstract > syntax tree rather than generating directly the opcode ? > It will allow to perform tasks like Type inference, optimization etc... > > Best regards, > > William > > -- > William Candillon > Telecom Lille Student > E-mail: wcandillon@elv.enic.fr > Tel: +33(0) 6 67 99 13 16 > Resume: http://wcandillon.netcv.org > -- William Candillon Telecom Lille Student E-mail: wcandillon@elv.enic.fr Tel: +33(0) 6 67 99 13 16 Resume: http://wcandillon.netcv.org ------=_Part_11288_29606767.1145002019223--