parse function calls in expressions