added string and chars support in grammar.