Theory of the languages

The theory of the languages aims to include/understand the operation of the Langage S, seen like means of communication, from a mathematical point of view.

A language is a whole of Mot S. a word (or Lexème) is a combination of elementary signs. The whole of these elementary signs is called Alphabet. The function associating the alphabet with the language is called Grammaire. One can associate with a grammar a automat allowing to determine if a word belongs to a language.

Among the practical applications of the theory of the languages, one finds in particular the Compilateur S, in Informatique

Words

One gives oneself a unit X , called alphabet whose elements are called letters .

  • a word length K is a k-uplet of letters u= (a_1, a_2,…, a_k) .
  • \ displaystyle X^k= \ underbrace {X.X… X} _ {K \, time} is the whole of the words length K
  • X^*= \ bigcup_ {K \ in \ mathbb {NR}} X^k \, is the whole of the words.
  • \ epsilon or () is the blank word length 0.
  • One defines on X^* \, , a Law of composition interns called Concaténation.
(a_1,…, a_n). (b_1,…, b_m) = (a_1,…, a_n, b_1,…, b_m) \, (length n+m).

This internal law of composition is associative and admits the blank word for neutral element, consequently \ langle X^*, \ cdot, \ epsilon \ rangle \, is a monoid, called free monoid on X \, .

Remark : Any word (a_1,…, a_n) equal to is concaténé (a_1). (a_2)… (a_n) . By identifying the words length 1 with the letters, one thus writes the word in the form: u=a_1.a_2… a_n \,

Languages

A whole of words on X is called a language . The languages can be characterized by the means which make it possible to describe them, for example:
  • the rational languages can be described by finite-state machines or rational expressions;
  • the algebraic languages can be described by grammars out-context or automats with piles;

See too

Random links:Naval academy of Year | Child-bubble | Fuji Rock'n'roll Festival | Skittles of eight | Championship of Belgium of football 1898-1899