fix(compiler): use parentheses around expressions and escape quotes