Job two - grammar and language

1. grammar G (Z): Z-> aZb | ab definition of what kind of language?

 

2. Write grammar quaternion form materials 22 pages identifiers in example 2.2.

 

3. Write the following expressions leftmost derivation and rightmost derivation syntax tree.

  • i*i+i
  • i+i*i
  • i+(i+i)

Guess you like

Origin www.cnblogs.com/xiaolan-Lin/p/11496421.html