Graph parser and expression postfix evaluator