Create new hierarchical parser as a generic utility.