pyparsing

Python parsing module

Here are some articles that you may find helpful