Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANN: phc 0.1, framework for processing PHP

1 view
Skip to first unread message

Edsko de Vries

unread,
Oct 26, 2005, 2:40:35 PM10/26/05
to
Hi,

A friend and myself are attempting to build a compiler for PHP, that
will compile PHP code into native i86/Linux assembly code. As part of
this project, we have developed

- an abstract grammar for PHP,
- a C++ class structure for this abstract grammar,
- a parser that takes any PHP script and returns the corresponding
object structure (abstract syntax tree),
- an unparser that dumps a tree in this format back to normal PHP code
- an unparser that dumps the tree in DOT format, and finally
- an API for transforming/traversing the tree

The first release, licensed under the GPL and containing all of the
above, can be found at http://www.phpcompiler.org. That website also
contains reference documentation and getting started tutorials.

Comments are welcome,

Edsko de Vries and John Gilbert

0 new messages