parse simple expressions