create btable grammar