The system and rules of a language; the study of sentence structure, word forms, and the principles for constructing sentences.
日本語の文法は助詞の使い方が重要だ。
In Japanese grammar, the use of particles is important.
文法の問題を毎日少しずつ練習している。
I practice grammar exercises a little every day.
彼は文法的に正しい英語を書くことが得意だ。
He is good at writing grammatically correct English.