| Formal Language |
Article Index for Formal |
Website Links For Formal |
Information AboutFormal Language |
| CATEGORIES ABOUT FORMAL LANGUAGE | |
| formal languages | |
|
An alphabet might be , and a string over that alphabet might be . A typical language over that alphabet, containing that string, would be the set of all strings which contain the same number of symbols and . The empty word (that is, length-zero string) is allowed and is often denoted by , or . While the alphabet is a finite set and every string has finite length, a language may very well have infinitely many member strings (because the length of words in it may be unbounded). A question often asked about formal languages is "how difficult is it to decide whether a given word belongs to the language?" This is the domain of Computability Theory and Complexity Theory . EXAMPLES Some examples of formal languages:
SPECIFICATION A formal language can be specified in a great variety of ways, such as:
OPERATIONS Several operations can be used to produce new languages from given ones. Suppose and are languages over some common alphabet.
SEE ALSO
FURTHER READING
|
|
|