parsing expressions and tagging