CS164 hw7
Homework 7: Parsing In this homework, you’ll implement a top-down predictive parser for an alternative syntax for our language. This syntax is called ML (Berkeley), because it bears a vague resemblance to ML-family languages like OCaml. We’ll usually refer to it as MLB. Here’s an example of an MLB program: 1 2 3 4 5 …