redesign of BNF editor
redesign of BNF editor succeed. now need debug :)