Add a tool for parsing chemical formulae.

This will make generating resoruce definitions and conversion modules
much easier.