ForteLexer lexer = new ForteLexer(stream);
CommonTokenStream tokens = new CommonTokenStream(lexer);
parser = new ForteParser(tokens);
reporter = new ErrorReporter();
parser.setErrorReporter(reporter);
statement_return result = parser.statement();
CommonTree tree = (CommonTree) result.getTree();
if (PRINT_TREE)
System.out.println("Tree==>"+tree.toStringTree());
// printTree(tree, 0);
errors = parser.getNumberOfSyntaxErrors();