Simple precedence parser: Difference between revisions

Content deleted Content added
Example: Fixed error in precedence table. Didn't check parsing example thou...
Line 10:
* Start with a stack with only the '''starting marker''' $.
* Start with the string being parsed ('''Input''') ended with an '''ending marker''' $.
* While not (Stack equals to $S and Input equals to $) (S = Initial simbolsymbol of the grammar)
** Search in the table the relationship between Top(stack) and NextToken(Input)
** if the relationship is <Math> \dot =</math> or <Math>\lessdot</math>