PLUAR: Programming Language Usenet Article Repository

A repository of Usenet articles referenced by PLNews: Programming Language News

Formatted Message


Path: border1.nntp.dca.giganews.com!nntp.giganews.com!news.moat.net!news.linkpendium.com!news.linkpendium.com!xuxa.iecc.com!nerds-end
From: "Edsko de Vries"
Newsgroups: comp.compilers
Subject: ANN: phc 0.1, framework for processing PHP
Date: 26 Oct 2005 14:40:35 -0400
Organization: http://groups.google.com
Lines: 22
Approved: comp.compilers _at_ iecc.com
Message-ID: <05-10-174 _at_ comp.compilers>
NNTP-Posting-Host: tom.iecc.com
X-Trace: xuxa.iecc.com 1130352035 10709 208.31.42.38 (26 Oct 2005 18:40:35 GMT)
X-Complaints-To: abuse _at_ iecc.com
NNTP-Posting-Date: 26 Oct 2005 18:40:35 GMT
Keywords: available
Posted-Date: 26 Oct 2005 14:40:35 EDT
X-submission-address: compilers _at_ iecc.com
X-moderator-address: compilers-request _at_ iecc.com
X-FAQ-and-archives: http://compilers.iecc.com
Xref: number1.nntp.dca.giganews.com comp.compilers:18456
X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)

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



Copyright (c) 2005. Disclaimer.
Feedback, comments, questions, etc.: pluar _at_ tacojuice.org
Generated: 28-Oct-2005