BNF: bnf grammar translated in lua sans precedence