NAME ^

Plumhead - Introduction

What is Plumhead? ^

Plumhead is an incomplete implementation of PHP on Parrot. Plumhead is short for Plum-headed Parakeet.

Goals ^

Implement PHP.

Provide a side by side comparison of different parsing and tree transformation techniques.

Currently there are three variants:

pct - Parrot compiler toolkit

phc - take XML output from phc and munge it with XSLT

antlr3 - ANTLR3, converted from languages/bc, started

Status ^

36 out of 2692 tests in the PHP 5.2.0 test suite pass for the phc variant.

Dependencies ^

phc

xsltproc and phc need to be in PATH.

antlr3

ANTLR3 generating Java code.

Author ^

Bernhard Schmalhofer - <Bernhard.Schmalhofer@gmx.de>

SEE ALSO ^

http://www.perlfoundation.org/parrot/index.cgi?plumhead

http://phpcompiler.org/

http://en.wikipedia.org/wiki/Document_Object_Model

http://en.wikipedia.org/wiki/Abstract_syntax_tree

http://en.wikipedia.org/wiki/XSLT

http://search.cpan.org/dist/parrot/docs/glossary.pod

http://perl.overmeer.net/xml-compile/

http://en.wikipedia.org/wiki/Plum-headed_parakeet

http://www.parrotcode.org/docs/compiler_tools.html

http://www.antlr.org/v3/index.html


parrot