Hamlet 3.4 syntax analysis.pdf