What is terminal and non terminal in compiler design?
Answers
Answered by
1
Non-terminals are syntactic variables that denote sets of strings. The non-terminals define sets of strings that help define the language generated by the grammar. A set of tokens, known as terminal symbols (Σ). Terminals are the basic symbols from which strings are formed.
Answered by
1
Answer:
A terminal symbol represents a single element of the language, and a non-terminal symbol represents several elements. terminal and nonterminal symbols are the lexical elements used in specifying the production rules constituting a formal grammar.
Explanation:
Hi friend here is your answer hope it's help you
if it's helps u follow me and mark me as a brainlist
Similar questions
Social Sciences,
4 months ago
Social Sciences,
4 months ago
Math,
8 months ago
English,
8 months ago
Physics,
1 year ago
Social Sciences,
1 year ago