CSC365 Compiler Design and Construction

Compiler Design and ConstructionModel question

Compute FIRST and FOLLOW for all non terminals in the grammar: S → ACB CbB Ba A → da BC B → g ε C → h ε Construct the LL(1) parsing table. Is this grammar LL(1)? Justify your answer.

5
A worked answer is on its wayMeanwhile, read the Compiler Design and Construction notes for this topic.

Discussion

Loading…

More Compiler Design and Construction questions

All Compiler Design and Construction old questions