A Simple Grammar (s-grammar) is one in which every production is of the form A→aB1B2...Bn where a is a terminal and all Bi,i≥0 are non-terminals, and there is only one production with any pair ⟨A,a⟩.
Ambiguous
我們可以「剖析 Parse 」一個字串,逐字對應至 Grammar 、確立語法,進而判斷原本字串是不是 Language 當中的字串。