Some code to parse expressions