NAME ^

Plumhead - Introduction

What is Plumhead? ^

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

Goals ^

Provide a side by side comparison of different implementation strategies of PHP on Parrot.

php - the reference implementation PHP 5.2.0

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

antlr3 - ANTLR3, converted from languages/bc, started

pct - Parrot compiler toolkit

yacc - with lex and yacc, planned

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.

yacc

lex and yacc, or flex and bison

Author ^

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

SEE ALSO ^

http://rakudo.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