dont use chatgpt or any ai and please write and draw white hand and paper and send me answer with paper picture . thank you
CPSC 4318
Assignment #3
Due: Monday, Sept. 25
40 points
2. (20) Using your grammar for the above question, draw parse trees and syntax trees
for:
a) x + y * (-z – x) * z + b * d
b) x = *x * y + (x + *y) * (x – y)
c) x = y = z = y – (x + (x && y)) * z
d) x || (y < z) || (a * b) && (c + -d) && e
3. (10) Convert the following EBNF into BNF:
::= [y ]
::= (w|x)
:= m { } m
:= p | q | null