Implement LO12 function
Support parenthetical expressions