Related articles |
---|
ANN: phc 0.1, framework for processing PHP devriese@cs.tcd.ie (Edsko de Vries) (2005-10-26) |
From: | "Edsko de Vries" <devriese@cs.tcd.ie> |
Newsgroups: | comp.compilers |
Date: | 26 Oct 2005 14:40:35 -0400 |
Organization: | http://groups.google.com |
Keywords: | available |
Posted-Date: | 26 Oct 2005 14:40:35 EDT |
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
Return to the
comp.compilers page.
Search the
comp.compilers archives again.