bsdl2jtag.pl is a BSDL parser written in Perl. At present it outputs information for the Openwince JTAG Tools but it should be easy to adapt the script for other purposes as well.
Coverage: it can parse all correct Xilinx BSDL files and it supports all current features of the Openwince JTAG Tools. However, the parser was written with only an occasional glance at the specification in IEEE Std 1149.1-2001.
Copyright: by me, released under the GPL. See the source code for details.
Requirements: Perl 5.8 and the Text::Balanced package.
Documentation: online or using perldoc bsdl2jtag.pl.