Re: [Wikitech-l] auditcode.py - discern class structure

2011-05-03 Thread Platonides
Paul Houle 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-f

Re: [Wikitech-l] auditcode.py - discern class structure

2011-05-03 Thread Platonides
Russell N. Nelson - rnnelson wrote: > Maybe there's a better tool to tell you what function is >defined in what class in PHP, but I couldn't find one in >the time it would take me to write it, so I wrote it. >It's not even a screenful. Give it the class definitions, >in class hierarchy order, on

Re: [Wikitech-l] auditcode.py - discern class structure

2011-05-03 Thread Aryeh Gregor
On Tue, May 3, 2011 at 10:25 AM, Paul Houle 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/0

Re: [Wikitech-l] auditcode.py - discern class structure

2011-05-03 Thread Paul Houle
On 5/2/2011 7:35 PM, Ryan Lane wrote: > I totally<3 that you wrote it in python. > > On Mon, May 2, 2011 at 4:21 PM, Russell N. Nelson - rnnelson > wrote: >> Maybe there's a better tool to tell you what function is defined in what >> class in PHP, but I couldn't find one in the time it would t

Re: [Wikitech-l] auditcode.py - discern class structure

2011-05-02 Thread Russell N. Nelson - rnnelson
ech-l-boun...@lists.wikimedia.org] on behalf of Brion Vibber [br...@pobox.com] Sent: Monday, May 02, 2011 7:24 PM To: Wikimedia developers Subject: Re: [Wikitech-l] auditcode.py - discern class structure On Mon, May 2, 2011 at 4:21 PM, Russell N. Nelson - rnnelson < rnnel...@clarkson.edu>

Re: [Wikitech-l] auditcode.py - discern class structure

2011-05-02 Thread Ryan Lane
I totally <3 that you wrote it in python. On Mon, May 2, 2011 at 4:21 PM, Russell N. Nelson - rnnelson wrote: > Maybe there's a better tool to tell you what function is defined in what > class in PHP, but I couldn't find one in the time it would take me to write > it, so I wrote it. It's not ev

Re: [Wikitech-l] auditcode.py - discern class structure

2011-05-02 Thread Brion Vibber
On Mon, May 2, 2011 at 4:21 PM, Russell N. Nelson - rnnelson < rnnel...@clarkson.edu> wrote: > Maybe there's a better tool to tell you what function is defined in what > class in PHP, but I couldn't find one in the time it would take me to write > it, so I wrote it. Depending on what you're tryi

[Wikitech-l] auditcode.py - discern class structure

2011-05-02 Thread Russell N. Nelson - rnnelson
Maybe there's a better tool to tell you what function is defined in what class in PHP, but I couldn't find one in the time it would take me to write it, so I wrote it. It's not even a screenful. Give it the class definitions, in class hierarchy order, on the command line. It will pull out the cl