Changes

Line 1,359: Line 1,359:  
This section collects the material on formal language theory that is needed for the rest of this work.
 
This section collects the material on formal language theory that is needed for the rest of this work.
   −
<pre>
+
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.
     −
So long as one considers only words or only sentences, that is, only one level of finite sequences of symbols, it does not matter essentially what the sequences are called.  Unless otherwise specified, a formal language is taken by default to be a "one level" formal language, containing only a single level of sequences.  If one wants to consider both words and sentences, that is, finite sequences of symbols and then finite sequences of these lower level sequences, all in the same context of discussion, then one has to move up to an essentially more powerful concept, that of a "two level" formal language.
+
So long as one considers only words or only sentences, that is, only one level of finite sequences of symbols, it does not matter essentially what the sequences are called.  Unless otherwise specified, a formal language is taken by default to be a ''one-level formal language'', containing only a single level of sequences.  If one wants to consider both words and sentences, that is, finite sequences of symbols and then finite sequences of these lower level sequences, all in the same context of discussion, then one has to move up to an essentially more powerful concept, that of a ''two-level formal language''.
   −
Until further notice, the next part of this discussion strictly applies only to one level formal languages.  When this project reaches the stage of dealing with higher level formal languages, a few of the following definitions and default assumptions will need to be adjusted slightly.
+
Until further notice, the next part of this discussion strictly applies only to one-level formal languages.  When this project reaches the stage of dealing with higher level formal languages, a few of the following definitions and default assumptions will need to be adjusted slightly.
    +
<pre>
 
It is convenient to have a generic term for referring to alphabets and lexicons, indifferently, without concern for their level of construction.  Therefore, I describe any finite set X as a "syntactic resource" for the syntactic domain X, provided that its elements are regarded as syntactic primitives that can be used to construct the signs and expressions in X.  If the primitive signs in a syntactic resource are regarded as denoting primitive objects or operations, then I refer to a collection of these objects or operations as an "objective" or an "operational" resource, as the case may be.
 
It is convenient to have a generic term for referring to alphabets and lexicons, indifferently, without concern for their level of construction.  Therefore, I describe any finite set X as a "syntactic resource" for the syntactic domain X, provided that its elements are regarded as syntactic primitives that can be used to construct the signs and expressions in X.  If the primitive signs in a syntactic resource are regarded as denoting primitive objects or operations, then I refer to a collection of these objects or operations as an "objective" or an "operational" resource, as the case may be.
  
12,089

edits