Principles of pragmatics