7/23/2014: re-written parser is going quite well. thank god for TDD