add support of grammar: [] {}