a parser for dmhy