GNU BISON parser
Bison" is a general-purpose parser generator which converts a
grammar description into a C program to parse that grammar. Once you
are proficient with Bison, you may use it to develop a wide range of
language parsers, from those used in simple desk calculators to
complex programming languages.