Changes

MyWikiBiz, Author Your Legacy — Tuesday July 02, 2024
Jump to navigationJump to search
→‎Alternative Versions: reconcile variants
Line 8: Line 8:     
==Alternative Versions==
 
==Alternative Versions==
  −
'''Old'''
      
A notation in the style of <math>S :> T\!</math> is now introduced, to be read among many others in this manifold of ways:
 
A notation in the style of <math>S :> T\!</math> is now introduced, to be read among many others in this manifold of ways:
Line 34: Line 32:  
In these types of situation the letter <math>S,\!</math> that signifies the type of a sentence in the language of interest, is called the ''initial symbol'' or the ''sentence symbol'' of a candidate formal grammar for the language, while any number of letters like <math>T,\!</math> signifying other types of strings that are necessary to a reasonable account or a rational reconstruction of the sentences that belong to the language, are collectively referred to as ''intermediate symbols''.
 
In these types of situation the letter <math>S,\!</math> that signifies the type of a sentence in the language of interest, is called the ''initial symbol'' or the ''sentence symbol'' of a candidate formal grammar for the language, while any number of letters like <math>T,\!</math> signifying other types of strings that are necessary to a reasonable account or a rational reconstruction of the sentences that belong to the language, are collectively referred to as ''intermediate symbols''.
   −
Combining the singleton set <math>\{ S \}\!</math> whose sole member is the initial symbol with the set <math>\mathfrak{Q}</math> that assembles together all of the intermediate symbols results in the set <math>\{ S \} \cup \mathfrak{Q}</math> of ''non-terminal symbols''.  Completing the package, the alphabet <math>\mathfrak{A}</math> of the language is also known as the set of ''terminal symbols''.  In this discussion, I will adopt the convention that <math>\mathfrak{Q}</math> is the set of ''intermediate symbols'', but I will often use <math>q\!</math> as a typical variable that ranges over all of the non-terminal symbols, <math>q \in \{ S \} \cup \mathfrak{Q}.</math>  Finally, it is convenient to refer to all of the symbols in <math>\{ S \} \cup \mathfrak{Q} \cup \mathfrak{A}</math> as the ''augmented alphabet'' of the prospective grammar for the language, and accordingly to describe the strings in <math>( \{ S \} \cup \mathfrak{Q} \cup \mathfrak{A} )^*</math> as the ''augmented strings'', in effect, expressing the forms that are superimposed on a language by one of its conceivable grammars.  In certain settings is becomes desirable to separate the augmented strings that contain the symbol <math>S\!</math> from all other sorts of augmented strings.  In these situations, the strings in the disjoint union <math>\{ S \} \cup (\mathfrak{Q} \cup \mathfrak{A} )^*</math> are known as the ''sentential forms'' of the associated grammar.
+
Combining the singleton set <math>\{ S \}\!</math> whose sole member is the initial symbol with the set <math>\mathfrak{Q}</math> that assembles together all of the intermediate symbols results in the set <math>\{ S \} \cup \mathfrak{Q}</math> of ''non-terminal symbols''.  Completing the package, the alphabet <math>\mathfrak{A}</math> of the language is also known as the set of ''terminal symbols''.  In this discussion, I will adopt the convention that <math>\mathfrak{Q}</math> is the set of ''intermediate symbols'', but I will often use <math>q\!</math> as a typical variable that ranges over all of the non-terminal symbols, <math>q \in \{ S \} \cup \mathfrak{Q}.</math>  Finally, it is convenient to refer to all of the symbols in <math>\{ S \} \cup \mathfrak{Q} \cup \mathfrak{A}</math> as the ''augmented alphabet'' of the prospective grammar for the language, and accordingly to describe the strings in <math>( \{ S \} \cup \mathfrak{Q} \cup \mathfrak{A} )^*</math> as the ''augmented strings'', in effect, expressing the forms that are superimposed on a language by one of its conceivable grammars.  In certain settings it becomes desirable to separate the augmented strings that contain the symbol <math>S\!</math> from all other sorts of augmented strings.  In these situations, the strings in the disjoint union <math>\{ S \} \cup (\mathfrak{Q} \cup \mathfrak{A} )^*</math> are known as the ''sentential forms'' of the associated grammar.
    
In forming a grammar for a language statements of the form <math>W :> W',\!</math>
 
In forming a grammar for a language statements of the form <math>W :> W',\!</math>
Line 47: Line 45:     
There are several abuses of notation that commonly tolerated in the use of covering relations.  The worst offense is that of allowing symbols to stand equivocally either for individual strings or else for their types.  There is a measure of consistency to this practice, considering the fact that perfectly individual entities are rarely if ever grasped by means of signs and finite expressions, which entails that every appearance of an apparent token is only a type of more particular tokens, and meaning in the end that there is never any recourse but to the sort of discerning interpretation that can decide just how each sign is intended.  In view of all this, I continue to permit expressions like <math>t <: T\!</math> and <math>T <: S,\!</math> where any of the symbols <math>t, T, S\!</math> can be taken to signify either the tokens or the subtypes of their covering types.
 
There are several abuses of notation that commonly tolerated in the use of covering relations.  The worst offense is that of allowing symbols to stand equivocally either for individual strings or else for their types.  There is a measure of consistency to this practice, considering the fact that perfectly individual entities are rarely if ever grasped by means of signs and finite expressions, which entails that every appearance of an apparent token is only a type of more particular tokens, and meaning in the end that there is never any recourse but to the sort of discerning interpretation that can decide just how each sign is intended.  In view of all this, I continue to permit expressions like <math>t <: T\!</math> and <math>T <: S,\!</math> where any of the symbols <math>t, T, S\!</math> can be taken to signify either the tokens or the subtypes of their covering types.
  −
'''New'''
  −
  −
<pre>
  −
In these types of situation the letter "S", that signifies the type of
  −
a sentence in the language of interest, is called the "initial symbol"
  −
or the "sentence symbol" of a candidate formal grammar for the language,
  −
while any number of letters like "T", signifying other types of strings
  −
that are necessary to a reasonable account or a rational reconstruction
  −
of the sentences that belong to the language, are collectively referred
  −
to as "intermediate symbols".
  −
</pre>
  −
  −
<pre>
  −
Combining the singleton set {"S"} whose sole member is the initial symbol
  −
with the set !Q! that assembles together all of the intermediate symbols
  −
results in the set {"S"} |_| !Q! of "non-terminal symbols".  Completing
  −
the package, the alphabet !A! of the language is also known as the set
  −
of "terminal symbols".  In this discussion, I will adopt the convention
  −
that !Q! is the set of intermediate symbols, but I will often use "q"
  −
as a typical variable that ranges over all of the non-terminal symbols,
  −
q in {"S"} |_| !Q!.  Finally, it is convenient to refer to all of the
  −
symbols in {"S"} |_| !Q! |_| !A! as the "augmented alphabet" of the
  −
prospective grammar for the language, and accordingly to describe
  −
the strings in ({"S"} |_| !Q! |_| !A!)* as the "augmented strings",
  −
in effect, expressing the forms that are superimposed on a language
  −
by one of its conceivable grammars.  In certain settings is becomes
  −
desirable to separate the augmented strings that contain the symbol
  −
"S" from all other sorts of augmented strings.  In these situations,
  −
the strings in the disjoint union {"S"} |_| (!Q! |_| !A!)* are known
  −
as the "sentential forms" of the associated grammar.
  −
</pre>
 
12,080

edits

Navigation menu