background preloader

Parsing

Facebook Twitter

Parsedatetime 0.8.3. Phc -- the open source PHP compiler. Source The latest phc version is phc-0.3.0.1.tar.gz (gzip compressed) or phc-0.3.0.1.tar.bz2 (bzip2 compressed). Check the Installation Instructions for system requirements. For a history of the changes, see ChangeLog. Older versions can be found in the archive, though they are unsupported. Documentation Please see Documentation for documentation downloads. Packages While we do not provide any binaries or packages of phc, several people have contributed packages for their OSes.

Dries Verachtert has RPMs for phc in DAG RPM repositories. x86_64, i386 and source RPMs are all supported. Conor McDermottroe has created a port for the FreeBSD ports collection. If your OS isn't here, you might be interested in more information on how to port and package phc. SVN Repository Our latest work is available in our SVN repository. Legalities phc is an open source project, but we intend for it to be freely used in any project (including commercial projects). Phc is released under the BSD license. Plumhead Rose. Pyparsing - home. Reverb 2.0. This is the revival of a small Python module which lived once on the now abandoned Vaults of Parnassus when I entered Python programming about a decade ago. It was originally written and published by JasonHarper in 1998 on a "free for any use" license.

Since then it has slowly faded from the net which I find a bit sad. reverb.py is a tiny wrapper around Pythons re module which maps regular expressions onto Python expressions for the sake of readability. The module name can be read as "re-verb(ose)". reverb follows the Python tradition of keeping the amount of punctuation small and avoid punctuation collisions.

In reverb one writes Optional(Digit)+". " instead of \d*\. to denote a pattern that matches a floating point number. From a reverb object one can fetch the regexp using the text attribute >>> (Optional(Digit)+". " Each reverb object translates to a regexp and it is finally the regexp which is compiled and matched against strings. ANTLR Parser Generator.