Grammar Parser

solotandem - May 30, 2009 - 18:31

This module provides a recursive descent grammar parser to help analyze and modify a source code file. The goal is that, by organizing the source code based on the grammar of the programming language (as opposed to low-level tokens), complex changes to the code can be more readily made in a programmatic fashion (i.e. by other code using the parser).

The first phase of this module will handle PHP grammar, building on the tokenizer functions available in PHP.

A couple of areas this module will have application to are: the Coder Upgrade (formerly Deadwood) module and the API documentation project. Suggestions for other applications are welcome.

This project is part of the 2009 Google Summer of Code.

This project is sponsored by Boombatower Development.

Looking for 6.x support?
To run the Grammar Parser as a 6.x module, apply the latest patch attached to this issue.

Downloads

Version Downloads Date Links
7.x-1.x-dev Download (57.44 KB) 2009-Dec-06 Notes


 
 

Drupal is a registered trademark of Dries Buytaert.