parser produces integers where possible