retagged by
2,036 views
2 votes
2 votes
If a grammer(CFG) is ambiguous then we can construct the topdown and bottomup parsing is possible directly???or we will make them into unambiguous then we will construct???
retagged by

1 Answer

Best answer
4 votes
4 votes
No parser can parse the ambiguous grammar .So first convert them  unambiguous grammar.Then check whether they are parsable or not by the specific parser.

PS:Only Operator precedence parser can work with ambiguous Grammar !
edited by

Related questions

0 votes
0 votes
2 answers
1
prasitamukherjee asked Jul 16, 2015
883 views
q. 23 : can anyone explain why both statements are false? I thought option B is correct?
0 votes
0 votes
2 answers
2
sh!va asked Jun 20, 2016
1,992 views
0 votes
0 votes
1 answer
3
1 votes
1 votes
1 answer
4