C++ port of parser by Paul Hodgkinson. Currently not portable, uses private library.