Not everybody realizes that all languages (and dialects) have grammars, i.e., languages are rules-based. When somebody says that language X doesn't have a grammar, they usually mean that it doesn't have inflections or has a grammar that is different from their language's grammar.