The Gateway to Computer Science Excellence
0 votes
48 views

Consider the following CFG $G:$

  • $S \rightarrow SS \mid T$
  • $T \rightarrow aT b \mid ab$

Describe $L(G)$ and show that $G$ is ambiguous. Give an unambiguous grammar $H$ where $L(H) = L(G)$ and sketch a proof that $H$ is unambiguous.

in Theory of Computation by | 48 views

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,345 questions
60,503 answers
201,881 comments
95,331 users