It was fun. Thanks for doing that. Did you guys have your own solution worked out?<p>My solution if anyone's interested:
<a href="https://gist.github.com/davesque/5399178" rel="nofollow">https://gist.github.com/davesque/5399178</a><p>I bet no one else used pyparsing (not that there's any reason to, really). :)