Move inline expression parsing from the compiler to the parser
Fix #1460