11th September 06
Finally we got rid of Top Down Parser ... and sir started with Bottom up parser. But we soon understood that Bottom up Parsing was even more dangerous.You can't intuitively visualize what is happening here... a confusing method.The communication pipe between sir's STDOUT and our STDIN was blocked for a while but after sometime it started working well.New problem creeped in...when to use SHIFT and when to use REDUCE.The grammar is ambiguous but we are parsing the input with some precedence among the operators. The conflicts led to conflicting minds about the implementation of the algorithm.We have to wait for the next class for the funda!!
No comments:
Post a Comment