Close
Register
Close Window

Chapter 20 Grammars

Show Source |    | About   «  20.1. Grammars - Part 1 (M 2/1/16)   ::   Contents   ::   20.3. Grammars - Part 3 (F 2/5/16)  »

20.2. Grammars - Part 2 (W 2/3/16)

20.2.1. RP 2 part 1

Topics of the day:

  1. Infinite languages and recursion
  2. Ambiguous grammars
  3. Operator associativity

The review problem set for today contains four review problems, the first three of which refer to the same grammar.

This problem is about determining how many parse trees a given string has in a given grammar.

20.2.2. RP 2 part 2

This problem is again about determining how many parse trees a given string has in a given grammar.

20.2.3. RP 2 part 3

This problem is once more about determining how many parse trees a given string has in a given grammar.

20.2.4. RP 2 part 4

This problem will help you discover ambiguities in grammars as well as convince yourself that a grammar is not ambiguous.

   «  20.1. Grammars - Part 1 (M 2/1/16)   ::   Contents   ::   20.3. Grammars - Part 3 (F 2/5/16)  »

nsf
Close Window