CSC 645 - Compiler Construction
Dr. R. M. Siegfried
Assignment #2 - Hand-parsing a Context-Free Grammar
Due Monday, February 27, 2023
Given the following grammar, draw a parse tree for the following
expressions:
S ::= ee | bAQ
Q ::= c | Qe
A ::= d | cA
- bcdc
- bccdc
- bccdce
[Back to the Assignments Index]