0
7.1kviews
Show contents of stack and i/p buffer and action after each step.

For the following grammar construct LL(1) parser table

S → F $\hspace {1 cm}$ S-э (8 — F) $\hspace {1 cm}$ F-»a

And Parse hesfing (a-a). Show contents of stack and i/p buffer and action after each step.


1 Answer
0
280views

Predictive Parsing

  • Predictive parser is a recursive descent parser, which has the capability to predict which production is to be used to replace the input string.
  • The predictive parser does not suffer from backtracking.
  • To accomplish its tasks, the predictive parser uses a look-ahead pointer, which points to the next …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.