Sublanguage
A sublanguage is a subset of a language. Sublanguages occur in natural language, computer programming language, and relational databases.
In natural language
In informatics, natural language processing, and machine translation, a sublanguage is the language of a restricted domain, particularly a technical domain. In mathematical terms, "a subset of the sentences of a language forms a sublanguage of that language if it is closed under some operations of the language: e.g., if when two members of a subset are operated on, as by and or because, the resultant is also a member of that subset". This is a specific term for what in most linguistic study is referred to a language variety or register.In computer languages
The term sublanguage has also sometimes been used to denote a computer language that is a subset of another language. A sublanguage may be restricted syntactically, and/or semantically.Examples
For instance, ALGOL 68S was a subset of ALGOL 68 designed to make it possible to write a single-pass compiler for this sublanguage.SQL statements are classified in various ways, which can be grouped into sublanguages, commonly: a data query language, a data definition language, a data control language, and a data manipulation language.