next up previous
Next: Languages Up: Lexical Analysis Previous: Lexical Analysis

Strings

Alphabet - a finite set of symbols. A member of an alphabet is a "character" or "symbol".

String - a finite sequence of symbols.

Concatenation of strings $x$ and y - the string formed by appending the symbols of $y$ to the symbols of $x$, written as $x$ $\cdot$ $y$ or $xy$.
Note: Concatenation of strings is analogous to multiplication with $\varepsilon$ = 1, but is not commutative.



CS 631 Class Account 2009-10-13