Content deleted Content added
Ilgeco1995 (talk | contribs) m →Implementing parsers from parsing expression grammars: Add reference to packrat |
→Syntax: Add grouping and operator priorities. |
||
Line 49:
#* ''And-predicate'': &''e''
#* ''Not-predicate'': !''e''
#* ''Group'': (''e'')
# Operator priorities are as follows:
{| class="wikitable"
|+ Caption text
|-
! Operator !! Priority
|-
| () || 5
|-
| &e, !e || 4
|-
| e*, e+, e? || 3
|-
| e<sub>1</sub> e<sub>2</sub> || 2
|-
| e<sub>1</sub> / e<sub>2</sub> || 1
|}
=== Semantics ===
|