[Fwd: Re: [PEAR-DEV] [ANNOUNCEMENT] phpDocumentor 1.2.0rc1 (beta) Released]
| From: | Alan Knowles | Date: | Thu, 17 Apr 2003 17:40:20 +0000 |
| Subject: | [Fwd: Re: [PEAR-DEV] [ANNOUNCEMENT] phpDocumentor 1.2.0rc1 (beta) Released] | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-15222@lists.php.net to get a copy of this message | ||
This was supposed to be cc'd to pear-dev - if anyone wants to add ideas...
-------- Original Message --------
Subject: Re: [PEAR-DEV] [ANNOUNCEMENT] phpDocumentor 1.2.0rc1 (beta) Released
Date: Fri, 18 Apr 2003 01:38:53 +0800
From: alan@akbkhome.com (Alan Knowles)
To: Greg Beaver <greg@chiaraquartet.net>
CC: pear-general@lists.php.net
Newsgroups: php.pear.general
References: <3E9EDD5C.2030702@chiaraquartet.net>
Greg,
Whats the current state of your parser - I've not looked that closely at
the code recently.
The reason I was asking was I wanted to write a small gtk app to
navigate and browse classes and was looking at a way to parse the
classes into a datastructure - the thinking being that a small
application could just parse a PHP file into a simple array and
serialize it. into a file:
eg.
DB/DataObjects.php would have a serialized description as
DB/DataObjects.php.serial
you could then just do date checking on the 2 files to see if it needs
re-parsing.
Since parsing is generally the memory killer for these apps it should
solve alot of problems, and In theory could be a small simple shared
component of all 'PHP code analysis tools'.....
anyway - the example code is at
(The jay/bison base file)
http://www.akbkhome.com:81/svn/akpear/PHP_CodeDoc/CodeDoc/Parser2.jay
the generated php class
http://www.akbkhome.com:81/svn/akpear/PHP_CodeDoc/CodeDoc/Parser2.php
(you can modify the last line to play with it parsing other files..)
how to use phpJay
http://www.akbkhome.com:81/svn/akpear/PHP_CodeDoc/CodeDoc/test_jay.sh
the current print_r version of the output.
http://www.akbkhome.com:81/svn/akpear/PHP_CodeDoc/CodeDoc/Parser2_example_output.txt
The intention is not for this to get involved in phpdoc comment parsing.
- just to provide a generic file parser for PHP. (as in small reusable
component)
let me know if you have any thoughts..
Regards
Alan
Beaver wrote:
Hi, pear.php.net crapped out after 30 seconds in PEAR.php (don't know what the problem is), so there was no release announcement sent. phpDocumentor 1.2.0rc1 has been released, and is available for immediate installation through pear.php.net This release fixes nearly 50 bugs, and has all major features for the 1.2.0 release cycle implemented. The peardoc2 converter should be fully functional, source highlighting has been greatly enhanced, and all of the HTML:frames templates have been spiffed up by Marco von Ballmoos, our new favorite developer. Contrary to the release notes, there are a few open bugs in this release (oops), and there will possibly be more discovered. If you find any, please open a new bug at the sourceforge project page. to install phpDocumentor, use: pear install PhpDocumentor NOT pear install PHPDoc Regards Greg Beaver -- phpDocumentor http://www.phpdoc.org-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com