In this exercise you shall construct scanner and parser for documents obeying the DTD of Fig. 5.14 in HMU. In particular you must complete the input to mosmllex and mosmlyacc given below.

Programs: