// Factor -> Indentifier // -> Integer // -> ( BoolExpression ) // Term -> Factor // -> Factor * Factor+ // -> Factor / Factor+ // Expression -> Term // -> + Term // -> - Term // -> Term + Term+ // -> Term - Term+ // BoolExpression -> Expressiom // -> Expression = Expression // -> Expression <> Expression // -> Expression < Expression // -> Expression <= Expression // -> Expression > Expression // -> Expression >= Expression // Statement -> Begin // -> While // -> If // -> Write // -> Read // -> Assignment // Begin -> Statement \\ This is where a statement separater (";") should added! // -> End // While -> BoolExpression Statement // If -> BoolExpression then Statement // -> BoolExpression then Statement "else" Statement // Write -> BoolExpression , BoolExpression+ // Read -> Input // Assignment -> Indentifier = BoolExpression