grammar, denotes the collection of the words of a language, with their significations, otherwise called a dictionary, lexicon, or nomenclature. See Dictionary.
A vocabulary is properly a smaller kind of dictionary, which does not enter to minutely into the origin and different acceptations of words.