grammar consists of syntax, semantics and pragmatics