For the following grammar write a C++ program that uses the LR(1) method to decide whether a given string can be derived in the grammar. If the sentence is derivable, your program should output the derivation of the sentence.
S' -> S
1) S -> L=R
2) S -> R
3) L -> *R
4) L -> id
5) R -> L
Hi I am an expert of c++ programming and have 4 year programming in it. if you give me a chance you will find me within time nd budget. Lookng for your kind response.
Warm Regards