1,323 views
1 votes
1 votes
How is this grammar Ambiguous??

S-> SS+ /   SS*  / a      

Can anyone give me an example of a string with parse trees ,I am unable to find such string.

Please log in or register to answer this question.

Related questions

0 votes
0 votes
3 answers
1
0 votes
0 votes
0 answers
2
o asked Jan 2, 2022
708 views
I understand all these following separately :1) DCFG is always unambiguous2) Regular grammar is a subset of DCFG3) Regular grammar can be ambiguousBut can't understand ho...
1 votes
1 votes
1 answer
3
2 votes
2 votes
3 answers
4
Rahul Ranjan 1 asked May 28, 2018
1,448 views
If a grammar( $CFG$ ) has more than one Right most derivation, Can it be called ambiguous ?Or we say a grammar is ambiguous only when it has more than one left most deriv...