灯下 登录
计算机科学 / SICP / 4.3.2 Examples of Nondeterministic Programs

Exercise 4.45 · 习题

Exercise 4.45: With the grammar given above, the

following sentence can be parsed in five different ways: “The professor

lectures to the student in the class with the cat.” Give the five parses and

explain the differences in shades of meaning among them.

练习 4.45:用上面给出的语法,以下句子可以被以五种不同方式分析:"The professor lectures to the student in the class with the cat."请给出这五种分析结果,并解释它们在含义上的细微差别。