bnf2cfg