On Tue, May 3, 2011 at 10:25 AM, Paul Houle <paul(a)ontology2.com> wrote:
Note that there is a PHP tokenizer built into PHP
which makes it
straightforward to develop tools like this in PHP:
http://php.net/manual/en/book.tokenizer.php
A practical example can be found here
http://gen5.info/q/2009/01/09/an-awesome-autoloader-for-php
We have a practical example too:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/code-utils/stylize.ph…