Two Structures for One Token Sequence

An expression grammar has start symbol EE and productions


E→E+E∣E∗E∣id.E \to E+E \mid E*E \mid \mathrm{id}.


For the token sequence id(a) + id(b) * id(c), which statements are true? Select every true statement. No precedence or associativity rules supplement the grammar.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Parsing Questions: