Simple LR parser: Difference between revisions

Content deleted Content added
Undid revision 572323984 which removed a lot of text (perhaps editing accident?) by 117.211.110.99 (talk)
Slightly more formal writing, discarding "you"
Line 7:
 
== Lookahead sets ==
To understand the differences between SLR and LALR, youit shouldis firstimportant to understand their many similarities and how they both make shift-reduce decisions. Please read article [[LR parser]] now for that background, up through the section on reductions' Lookahead Sets.
 
The one difference between SLR and LALR is how their generators calculate the '''lookahead sets''' of input symbols that should appear next, whenever some completed [[Formal grammar#The syntax of grammars|production rule]] is found and reduced.