Comparison parsing AST

Choose whichever form is more convenient to you.