A general-purpose markup language is a
markup language
Markup language refers to a text-encoding system consisting of a set of symbols inserted in a text document to control its structure, formatting, or the relationship between its parts. Markup is often used to control the display of the document ...
that is used for more than one purpose or situation. Other, more specialized
domain-specific markup languages are often based upon these languages. For example,
HTML 4.1 and earlier are domain-specific markup languages (for webpages), and are based on the syntax of
SGML
The Standard Generalized Markup Language (SGML; ISO 8879:1986) is a standard for defining generalized markup languages for documents. ISO 8879 Annex A.1 states that generalized markup is "based on two postulates":
* Declarative: Markup should des ...
, which is a general-purpose markup language.
List
Notable general-purpose markup languages include:
*
ASN.1 (Abstract Syntax Notation One)
*
EBML
*
LML - general-purpose markup language for expressing markdown, variables, and expressions for machine-readable and executable legal documentation
*
GML - the predecessor of
SGML
The Standard Generalized Markup Language (SGML; ISO 8879:1986) is a standard for defining generalized markup languages for documents. ISO 8879 Annex A.1 states that generalized markup is "based on two postulates":
* Declarative: Markup should des ...
*
SGML
The Standard Generalized Markup Language (SGML; ISO 8879:1986) is a standard for defining generalized markup languages for documents. ISO 8879 Annex A.1 states that generalized markup is "based on two postulates":
* Declarative: Markup should des ...
- a predecessor of
XML
*
XML - a stripped-down form of SGML
*
YAML
*
GLML - General-purpose Legal Markup Language
See also
*
Comparison of document markup languages
*
General-purpose language
*
General-purpose modeling language
*
General-purpose programming language
*
S-expression
{{Markup languages
*
Data serialization formats