Add ternary conditional operator and casting to the parser.