General-purpose language

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

A general-purpose language is a computer language that is broadly applicable across application domains, and lacks specialized features for a particular domain. This is in contrast to a domain-specific language (DSL), which is specialized to a particular application domain. The line is not always sharp, as a language may have specialized features for a particular domain but be applicable more broadly, or conversely may in principle be capable of broad application but in practice used primarily for a specific domain.[1]

General-purpose languages are further subdivided by the kind of language, and include:

References[edit]

  1. ^ "Definition of general-purpose language". PCMag. Retrieved April 6, 2020. A programming language that is used to solve a wide variety of problems. Languages such as C, C++ and Java are examples. Contrast with special-purpose language. See general purpose.
  2. ^ John Ousterhout (2008). "Markup Languages: XML, HTML, XHTML". stanford.edu. Retrieved April 6, 2020.
  3. ^ "Clock constraint specification language: specifying clock constraints with UML/MARTE" (PDF). doi:10.1007/s11334-008-0055-2. Cite journal requires |journal= (help)
  4. ^ "Programming Languages Through the Years". The Software Guild. July 30, 2015. Retrieved April 6, 2020.

External links[edit]