public Production[] getNonLambdaProductions(Grammar grammar) {
		ProductionChecker pc = new ProductionChecker();
		ArrayList list = new ArrayList();
		Production[] productions = grammar.getProductions();
		for (int k = 0; k < productions.length; k++) {
			if (!ProductionChecker.isLambdaProduction(productions[k]))
				list.add(productions[k]);
		}
		return (Production[]) list.toArray(new Production[0]);
	}