Friday, 05-Dec-2008 16:34:44 GMT Tell a friendLink to this pageRandom Article
 
 
Online encyclopedia

 


Formal language

A formal language is a set of finite-length words (or "strings") over some finite alphabet. A typical alphabet would be {a, b}, a typical string over that alphabet would be "ababba", and a typical language over that alphabet containing that string would be the set of all strings which contain the same number of a's as b's. The empty word is allowed and is usually denoted by e, ε or λ. Note that while the alphabet is a finite set and every string has finite length, a language may very well have infinitely many member strings.

Some examples of formal languages:

A formal language can be specified in a great variety of ways, such as:

Several operations can be used to produce new languages from given ones. Suppose L1 and L2 are languages over some common alphabet.

A typical questions asked about a formal language is how difficult it is to decide whether a given word belongs to the language. This is the domain of computability theory and complexity theory.

 

Tell a friend about this page.
Send this page
Bookmark Formal language.

 

Link to this page: The easy way to educate your website visitors. Post a link to definition / meaning of " Formal language " on your site.
HTML code: Resulting link:

Formal language

 

This online educational article is provided by contributions of Wikimedia Foundation.
Licensed under the GNU free documentation license. View live article. Copyright & Disclaimer - Contact

Partners: Digital Gadgets | Logo Design | Business Articles | Online Calculators

Anti-Spam Coalition