retagged by
597 views

1 Answer

Best answer
1 votes
1 votes

Generally, top-down parsers suffers from the backtracking hence inefficient. So bottom-up is more preferable.

selected by

Related questions

2 votes
2 votes
2 answers
1
Subhrangsu asked Apr 16, 2022
9,266 views
Is the following grammar LL(1) ?S→ aABbCD | ϵA→ ASd | ϵB→ Sac| hC | ϵC→ Sf |CgD→ aBD | ϵDraw the LL(1) parsing table for the given grammar.
0 votes
0 votes
1 answer
2
Subhrangsu asked Apr 15, 2022
2,209 views
Compute FIRST and FOLLOW sets:S→ aAC | bBA→ Abc| Abd | eB→ f | gC→ h | i
1 votes
1 votes
3 answers
3
Satbir asked Jan 13, 2020
2,295 views
A grammar is defined as$A \rightarrow BC$$B \rightarrow x \mid Bx$$C \rightarrow B \mid D$$D \rightarrow y \mid Ey$$E \rightarrow z$The non terminal alphabet of the gram...