public void outputInitStatements(PrintStream out)
	throws CopperException
	{
		for(Terminal t : grammar.getT())
		{
			out.print("        sym_" + symbolTransTable.get(t) + " = t(\"" + t.getId() + "\");\n");
		}
		for(NonTerminal nt : grammar.getNT())
		{
			out.print("        sym_" + symbolTransTable.get(nt) + " = nt(\"" + nt.getId() + "\");\n");
		}
		for(NonTerminal nt : grammar.getNT())
		{
			if(!grammar.pContains(nt)) continue;
			for(Production p : grammar.getP(nt))
			{
				out.print("        p_" + productionTransTable.get(p) + " = p(\"" + p.getName() + "\",sym_" + symbolTransTable.get(p.getLeft())); 
				for(GrammarSymbol sym : p.getRight())
				{
					out.print(",sym_" + symbolTransTable.get(sym));
				}
				out.print(");\n");
			}
		}
		
		
		
		out.print("        parseTable = new " + GLRParseTable.class.getName() + "();\n");
		for(int statenum : parseTable.getStates())
		{
			out.print("        init_" + statenum + "();\n");
		}
	}