Chemeq : a chemical equation parser by G. Khaznadar
chemeq is a basic standalone filter written in C language, flex and bison. It inputs strings like:
2H2 + O2 –> 2 H2O
and can outputs LATEX code, many useful messages and much more. It aims to be embedded in educational applications.