2 Start -> if Podminka { Prikaz } | if Podminka { Prikaz } Konec_podminky | Prikaz
4 Konec_podminky -> else if Podminka { Prikaz } Konec_podminky
5 Konec_podminky -> else Podminka { Prikaz }
7 Podminka -> Promenna Operator Retezec | (Promenna Operator Retezec) | Promenna Operator Retezec Bool_spojka Podminka| (Promenna Operator Retezec) Bool_spojka Podminka| ! Podminka
9 Bool_spojka -> | | & | ^
14 N -> //jakekoliv cislo
16 Y -> //cokoliv s escapovanymi uvozovkami
17 Z -> //cokoliv s escapovanymi apostrofy
18 A -> // cokoliv s escapovanymi lomitky
21 Retezec -> Retezec.Retezec | Promenna.Retezec | Retezec.Promenna | Promenna | Promenna.Promenna
23 Operator -> == | === | != | !== | <= | >= | < | > | ~~ | !~ | ~~~ | !~~
25 Prikaz -> PrikazPrikaz
26 Prikaz -> Prirazeni | Akce
27 Prirazeni -> Promenna = Retezec | Promenna = Akce
28 Akce -> Co -> Jak Retezec
30 Jak -> pipe | mail | _
33 promenna: $[A-Za-Z0-9_-]+
34 string: "[^\n]*" | '[^\n]*' | cislo
37 whitespace s novym radkem