
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

(a) Using the head rules handed out in class (and available in Appendix A of http://people.csail.mit.edu/mcollins/papers/thesis.ps), write a function which takes a rule and returns the head, the daugh- ters to the left of the head, and the daughters to the right of the head.