I wrote a Ruby version. I've also written an infrastructure to handle all PAR2 file packets but only do the file descriptor ones.

http://blog.revragnarok.com/blog/blog/rubypar2