A generic parser on two pages