pycparser is a parser for the C language, written in pure Python. It is a module designed to be easily integrated into applications that need to parse C source code
When you provide a code (file) to Pycparser to be parsed, it creates an Abstract Syntax Tree (AST) out of it. Abstract Syntax Tree (AST) is a tree representation of the syntax of source code - a convenient hierarchical data structure that's built from the code and is readily suitable for exploration and manipulation.
For FAQs about pycparser, please visit: https://github.com/eliben/pycparser/wiki/FAQ