writer.writeln(" Reading grammar \"" + grammarFile + "\"");
GrammarParser parser = new GrammarParser(new IGrammarFactoryFactory() {
public IGrammarFactory getFactory(int phase) {
return new ParserFactory(writer);
}}
);
ParsingResult result = parser.parseFile(grammarFile);