adopting new parser api proposed by Peter Ljunglöf