Tim Hatch

Weblog | Photos | Projects | Panoramas | About


This is a first stab at a parsing module written in Python that can read PHP's array syntax, such as produced by var_export.

I am sure that this is not at 100% accuracy yet, but the only real issues I can see are in string escape parsing and obscure float representations, along with notions of true, false, and null (I don't use any of these).


Release 0.1 based on r2 in bzr is in dist/ as egg and source dist.

Devel version is kept in bzr at http://code.timhatch.com/bzr/phpreader/.


I welcome patches, suggestions, and bugreports. Send me an email to code@timhatch.com