![](/uploads/1/2/5/2/125213917/316683117.jpg)
This Program implements the Predictive Parsing Of the grammar
E->E+T/T
F->F*T/F
F->id(Identifier)
15,952 Views E->E+T/T
F->F*T/F
F->id(Identifier)
Program to show the implementation of Bottom-Up Parsing Program to convert an Infix Expression into a Postfix Expression using Linked List as a Stack Program to implement a Translator that reads an Infix Expression translates it into a Postfix Expression and evaluate the Postfix Expression.
hey this program is not correct this is just blow your head.
i want the exact program to eliminate ambiguity,left recursion, left factoring and also for construction of transition diagram
suraiyaparveen: You won't get it, for two reasons. First, no such program exists - those are all things that need to be done manually, not programs to be written. Second, even if it were feasible to do those things programmatically, we wouldn't give it to you without some evidence that you had put in a good faith effort to solve the problems on your own first. Daniweb is not a free homework cheating service, and no one here is going to do your work for you.
Also, don't go reviving long-dead threads. Thread necromancy is considered extremely rude on pretty much every message board on the web, and is just one more reason for most of the people here to ignore you or worse.
Edited by Schol-R-LEA
rubberman commented: Ah! Digital necromancy! Time to raise the long dead!+0
Would you please tell us the input procedure of this program? How the input is given?
Above program needs a fix , As per my anayl.
[fix]Replace line 108 of above program with if(k0) :
[fix]Replace line 108 of above program with if(k0) :
Any I/P will work which can be generated by above grammer for example try
I/P : 1. a+bc$ (accepted) 2. a+bc (Not Accepted) 3. a+b*$ (Not Accepted)
I/P : 1. a+bc$ (accepted) 2. a+bc (Not Accepted) 3. a+b*$ (Not Accepted)
Edited by Rahul_65
![Predictive Predictive](/uploads/1/2/5/2/125213917/247632966.jpg)
Edited by Dani: Was deleted accidentally
![](/uploads/1/2/5/2/125213917/316683117.jpg)