终端符号和非终端符号的区别
Diference between terminal symbol and Non Terminal symbol
任何人都可以向我解释系统编程中终端符号和非终端符号之间的区别 examples.please 伙计们帮我解决这个问题:)
终结符表示语言的单个元素,非终结符表示多个元素。
terminal and nonterminal symbols are the lexical elements used in
specifying the production rules constituting a formal grammar.
Terminal symbols are the elementary symbols of the language defined by
a formal grammar. Nonterminal symbols (or syntactic variables) are
replaced by groups of terminal symbols according to the production
rules.
来源:http://en.wikipedia.org/wiki/Terminal_and_nonterminal_symbols
任何人都可以向我解释系统编程中终端符号和非终端符号之间的区别 examples.please 伙计们帮我解决这个问题:)
终结符表示语言的单个元素,非终结符表示多个元素。
terminal and nonterminal symbols are the lexical elements used in specifying the production rules constituting a formal grammar. Terminal symbols are the elementary symbols of the language defined by a formal grammar. Nonterminal symbols (or syntactic variables) are replaced by groups of terminal symbols according to the production rules.
来源:http://en.wikipedia.org/wiki/Terminal_and_nonterminal_symbols