|
| ||||
HistoryPrecursor CodeThere is a reference to a script like this one on the Perl6 Internals list from 2002. The script was written by Bart Schuller. When I started looking for references to Perl-to-doxygen processing scripts I downloaded this script to see what it did. Thanks, Bart, it was a big help! PrimusQuick knock-off during my work on an unrelated project. I used the precursor code as a template, but it was all written from scratch. SecundusRe-write from the ground up using the Primus version as a template. The precursor code, while a valuable initial input, is now fading irrevocably into the mists of time. In this version there were two phases:
The parser code operated by breaking input into lines and parsing as a state machine. The code was built stand-alone, without using This version was advertised on the SPUG mailing list and wiki and on the Doxygen mailing list. TertiusSomewhat rewritten to separate the processing phases and handle some problems caused the state machine of the Secundus version. In this version there are three phases:
This allowed Perl and POD parsing (as well as other phases yet to be imagined) to be separated. The Massage phase is where the POD items that represent functions are connected to the Doxygen items that represent functions parsed from the Perl code. In addition, the parsing of Perl code is done by loading the entire file, removing all POD lines, and then breaking it apart into packages and functions. This works much better than the previous line-by-line state machine. The POD parsing, on the other hand, is mainly line-oriented. This works better for the POD parts of the files. Other parsers are their own animals. This version was constructed using Generated on Mon Dec 27 2010 15:15:39 for DoxyFilt by 1.7.1 | |||||