A general-purpose language is a programming language that can create all types of programs. For example, C is a good example of a general-purpose language.

A language that is not a general-purposed language is called a DSL (domain-specific language). For example, HTML, Logo, MATLAB are examples of domain-specific languages.

DSL, Programming terms