Implement more OPs in AST: defined, and numeric comparisons

... and global variable access - sort of.