module import automatization idea |
Subject: module import automatization idea by jurgis on 2004/3/26 3:02:50 Hi, I have a general idea, that it would be good to use some code-parsing app's to automate module porting tasks - the initial work would pay-off, when a new version comes out sth about parsing ( tokenizer things) http://php.planetmirror.com/manual/en/ref.tokenizer.php http://www.zend.com/manual/function.token-get-all.php http://www.antlr.org/article/rewrite.engine/index.tml sth of this stuff is used by http://phpdoctor.sourceforge.net scenario: 1) find some function 2) state what to change in it 3) tell parser do the job of course it will not do all the job.. and in some places regexp might help as well Quote: if we have computers - let them do our work |