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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > Tel: +33(0) 6 67 99 13 16 > Resume: http://wcandillon.netcv.org > -- William Candillon Telecom Lille Student E-mail: [EMAIL PROTECTED] Tel: +33(0) 6 67 99 13 16 Resume: http://wcandillon.netcv.org