News Feed
Jobs Feed
Sections




News Archive
William Candillon's Blog:
Using XML Representations of a PHP parse Tree
June 08, 2006 @ 05:54:50

In his new post on "Yet Another PHP Blog" (a blog documenting his participation in Google's Summer of Code), William Candillon talks about some issues he had when working on his aspect-oriented framework.

The original PHP compiler doesn't use AST representation of a source code so in the previous versions of phpAspect I had to fill the php grammar with my own AST constructions. It was a painful job and moreover I had to do it in each major version of PHP. For this new version, I'm using the yaxx project written by Dr. Yijun Yu. The yaxx tool is a yacc skeleton which build an xml ast representation of a source code according to his grammar.

He includes two images, one showing the simple class code and the other showing the tree that's obtained from the XML generated by the yaxx tool for that class structure.

0 comments voice your opinion now!
xml parse tree yaxx aspect oriented programming images xml parse tree yaxx aspect oriented programming images


blog comments powered by Disqus

Similar Posts

AnyExample.com: Making XML/XSLT driven site using PHP

DevShed: Using Yahoo Web Services to Perform Searches with an Object-Oriented Approach

Vanessa Vasile's Blog: Simple Way to Parse an x509 Certificate with PHP

John Cox\'s Blog: Book Review - XML Web Development

KillerPHP.com: The Zend Framework: Writing Object-Oriented PHP with Ease


Community Events











Don't see your event here?
Let us know!


zendframework2 series code opinion composer introduction conference language testing example development release tool database functional community framework podcast object interview

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework