pyC11 is a grammar to parse programs in the C programming language following ISO/IEC 9899:2011. It is written using pyPEG, a parsing framework for Python. The grammar supports Python 2.7 and 3.x. The test bench requires py.test.
Genparse is a generic command line parser generator. From a simple and concise specification file, you can define the command line parameters and switches that you would like to be able to pass to your program. Genparse creates the C, C++, or Java code of the parser for you.
Gelatin is a simple and fast program for transforming text to structured formats such as XML, JSON, or YAML. It is a combined lexer, parser, and output generator.