Simple precedence parser: Difference between revisions

Content deleted Content added
Qsebas (talk | contribs)
Qsebas (talk | contribs)
No edit summary
Line 39:
F --> ( E' ) | num
E' --> E
 
'''num''' is a terminal, and the [[lexer]] parse any integer as '''num'''.
 
</pre>
 
'''num''' is a terminal, and the [[lexer]] parse any integer as '''num'''.
 
and the Parsing table:
Line 55:
| T || || || || || ||<math>\dot ></math>||<math>\dot =</math>|| || ||
|-
| T'|| || ||<math>\dot <</math>||<math>\dot <</math>|| ||<math>\dot ></math>|| ||<math>\dot <</math>|| ||<math>\dot <</math>
|-
| F || || || || || ||<math>\dot ></math>||<math>\dot ></math>|| || ||