Content deleted Content added
Steamerandy (talk | contribs) Tags: Mobile edit Mobile app edit Android app edit |
Steamerandy (talk | contribs) →Parser Programming Languages: my page Tags: Mobile edit Mobile app edit Android app edit |
||
Line 17:
!<number>
pops the top <number> of parse stack objects combining them with the poped top node stack entry to create tree.
The need for left recursion is eliminated by the $ zero-or-more operator. An arithmetic example illistrates parsing with directed tree construction.
<syntaxhighlight lang="ebnf">
expr = term $(('+':ADD|`-`:
</syntaxhighlight>
<syntaxhighlight lang="ebnf">
|