[PD] Parsing .pd file to get dependency graph

Claude Heiland-Allen claude at mathr.co.uk
Fri Oct 12 15:23:56 CEST 2012


On 12/10/12 14:10, Jamie Bullock wrote:
> Has anyone written a script to parse a .pd files and get its full tree of dependencies (externals and abstractions)?

Vaguely started something like this in 2008, attached are some 
almost-trivial bash scripts etc.  Not very robust, but it's a start. 
Doesn't work recursively yet (so no dependency tree).  Feel free to 
modify/extend/etc, consider it under the same license as Pd itself.


Claude
-- 
http://mathr.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abstractions.sh
Type: application/x-shellscript
Size: 86 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121012/55f0a85a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: externals.sh
Type: application/x-shellscript
Size: 100 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121012/55f0a85a/attachment-0001.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Gem.txt
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121012/55f0a85a/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: internals.sh
Type: application/x-shellscript
Size: 162 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121012/55f0a85a/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: objs.sh
Type: application/x-shellscript
Size: 73 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121012/55f0a85a/attachment-0003.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pd-0.41-4.txt
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121012/55f0a85a/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pd-print-libs-and-classes.patch
Type: text/x-patch
Size: 1071 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121012/55f0a85a/attachment-0004.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: README
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121012/55f0a85a/attachment.asc>


More information about the Pd-list mailing list