retagged by
459 views

1 Answer

1 votes
1 votes
You can start from left (top down) or from right.From right it will be reverse of rightmost derivation,which is bottom up parser.

If we can change the algorithm , maybe its starts from middle (say).The complexity of code will increase.

Related questions

1 votes
1 votes
1 answer
1
vishal chugh asked Jan 23, 2018
1,063 views
Since it is a Bottom Up Parser do we need to evaluate expressions following Right Hand Derivations or Left Hand Derivations,i.e. should we evaluate D - d first or B - B f...
1 votes
1 votes
1 answer
2
durgesh94 asked Jun 15, 2016
1,765 views
Which of the following feature(s) is/are needed to implement top down parsingSource string marker Prediction making mechanismMatching and Backtracking me...
1 votes
1 votes
0 answers
3
saxena0612 asked Nov 23, 2017
593 views
Comment on Statement:Operator precedence parser is a SR parser. :Thoughts:Though it uses Stack to evaluate input string is it this the reason we can call it as shift redu...
0 votes
0 votes
2 answers
4
prasitamukherjee asked Jul 16, 2015
882 views
q. 23 : can anyone explain why both statements are false? I thought option B is correct?