Simple implementation of habraparser.