Partially-functional parser