TeXpp is a library for parsing TeX documents into a document tree suitable for document manipulation and information extraction. Please take a look at Introduction for a basic TeXpp overview. Current implementation status can be found in ImplementedTexFeatures.