Announcing MetaPOD
[email protected] (Kent Fredric) Sat, 1 Jun 2013 01:41:51 +1200
| Newsgroups | perl.pod-people |
|---|---|
| Message-ID | <CAATnKFCO1_wh1Lqt5+PP1q-L+3koMEa4MKLbqwjsspE7rCAKvA@mail.gmail.com> |
In the last few hours I uploaded something I hope people will find useful. MetaPOD https://metacpan.org/release/MetaPOD In its simplest form, its a way of storing meta-data about classes in JSON in POD https://metacpan.org/module/MetaPOD::JSON#Using-MetaPOD::JSON-in-your-documentation It presently only supports communicating "inherits" and "does" information about classes, but I have plans for more. And with just that alone, I already have basic inheritance diagram generation, which requires *no* evaluation of the classes code to do so. The dist itself already contains annotations in its own format, and you can scrape these quite easily https://metacpan.org/source/KENTNL/MetaPOD-0.1.0/examples/self_structure.pl And return useful dot files https://metacpan.org/source/KENTNL/MetaPOD-0.1.0/examples/self_structure.dot And which returns pretty graphs https://github.com/kentfredric/MetaPOD/blob/master/examples/self_structure.png Feedback welcome/requested/etc. Patches to https://github.com/kentfredric/MetaPOD -- Kent perl -e "print substr( \"edrgmaM SPA NOcomil.ic\\@tfrken\", \$_ * 3, 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );" http://kent-fredric.fox.geek.nz