NHparser is a C library for parsing trees in the Newick or New Hampshire format.