The exercises of Chapter Four4、2 Grammar: A → ( A ) A | ε Assume we have lookahead of one token as in the example on p、 144 in the text book、 Procedure A() if (LookAhead() ∈ {‘(‘}) then Call Expect(‘(‘) Call A() Call Expect (‘)’) Call A() else if (LookAhead() ∈ {‘)‘, $}) then return() else /* error */ fi fi end 4、3 Given the grammar statement→ assign-stmt|call-stmt|otherassign-stmt→identifier:=expcall-stmt→identifier(exp-list)[Solution]First, convert the grammar into following forms:statement→ identifier:=exp | identifier(exp-list)|otherThen, the pseudocode to parse this grammar:Procedure statementBeginCase token of( identifer : match(identifer);case token of( := : match(:=); exp;( (: match((); exp-list;match());else error;endcase(other: match(other);else error;endcase;end statement4、7 a G