@Dennis Sorry to bother you, but I realized that parsimonious isn't the right library and my friend suggested
modgrammar which repl.it doesn't have. If you don't mind, could you look into installing that into Python 3 sometime when you have time? Thanks, and sorry to bother you again :P