syntax analyzer using the recursive descent method with java
Exercise1: Let the following grammar G1 be:
S -> x/y/(T)
T -> S/SA
A -> SA/ε
Write the syntax analyzer using the recursive descent method.
Exercise2: S-->CSd/AB A-->aAb/ε B-->bB/ε C-->cC/ε