Added BNF for parser functions