System.out.println("OR");
System.out.println(" java JSGFParser inputfile");
return;
}
try {
parser.GrammarUnit(new JSGFRuleGrammarFactory (new JSGFRuleGrammarManager()));
System.out.println("JSGF Parser Version " + version + ": JSGF Grammar parsed successfully.");
} catch (ParseException e) {
System.out.println("JSGF Parser Version " + version + ": Encountered errors during parse." + e.getMessage());
}
}