add string allocation and add tiger.bnf file