A "formal language" is a countable set of "expressions", each of which is a finite sequence of elements taken from a finite set of "symbols". The primitive symbols that are used to generate the expressions of a formal language are collectively called its "alphabet" or its "lexicon", depending on whether the expressions of the language are intuitively regarded as "words" or as "sentences", respectively. | A "formal language" is a countable set of "expressions", each of which is a finite sequence of elements taken from a finite set of "symbols". The primitive symbols that are used to generate the expressions of a formal language are collectively called its "alphabet" or its "lexicon", depending on whether the expressions of the language are intuitively regarded as "words" or as "sentences", respectively. |