* @param g
* @return A Parse table for the specified grammar
* @throws StateConflict
*/
public static ParseTable createParseTable(Grammar g) throws StateConflict {
ParseTableGeneratorStategy strat = new LALR1ParseTableGeneratorImpl(g,new FirstImpl(g)) ;
return strat.createParseTable();
}