Put global variables in lex object to clarify scope of variables.
Add conditional and, or, xor, bitwise conditional, and bitshifts in parser. Implement conditional boolean functions.