parsing some simple expressions