startsymbool
Startsymbool is a term used in formal grammar and rewriting systems to denote the initial symbol from which all strings of the language are derived. It is typically a nonterminal symbol, distinct from the terminal symbols that appear in the generated strings. The start symbol is the root of every derivation and of the parse tree for any sentence belonging to the language.
In a context-free grammar G = (V, Σ, R, S), S is the start symbol. From S, production rules
Most grammars use a single start symbol, but some grammars permit multiple designated starts. In parsing, it
If the start symbol can derive the empty string, the language includes the empty string. Otherwise, the
The startsymbool is a conventional, language-agnostic notion and does not prescribe any particular syntax; its exact