A set of strings.
Any language over is a subset of .
Operations
Set operations can be applied to languages as they are basically sets.
Language Quotient
Let and . Set of all strings such that is in .
Repetition
is concatenation of with itself times. .
Kleene Star and Plus
Kleene Star
= zero or more concatenations of .
Kleene Plus
= one or more concatenations of . Can also be written as or .
Basic Language
For a given alphabet , its basic languages are:
- for each symbol
- (empty language)
- (language containing the null string)
Recognizing a Language
Language recognition means deciding whether a given string belongs to a language.
Recognition is done by reading input left to right in one pass.
Distinguishing Strings
2 strings and are distinguishable with respect to a language if their language quotients are different.
Any string in one of these sets but not the other is said to distinguish and with respect to .