grammar file for digit