In computer science, an ambiguous grammar is a formal grammar for which there exists a string that can have more than one leftmost derivation.
Read more about Ambiguous Grammar: Example, Recognizing Ambiguous Grammars, Inherently Ambiguous Languages
Famous quotes containing the words ambiguous and/or grammar:
“The whole of natural theology ... resolves itself into one simple, though somewhat ambiguous proposition, That the cause or causes of order in the universe probably bear some remote analogy to human intelligence.”
—David Hume (17111776)
“Grammar is a tricky, inconsistent thing. Being the backbone of speech and writing, it should, we think, be eminently logical, make perfect sense, like the human skeleton. But, of course, the skeleton is arbitrary, too. Why twelve pairs of ribs rather than eleven or thirteen? Why thirty-two teeth? It has something to do with evolution and functionalismbut only sometimes, not always. So there are aspects of grammar that make good, logical sense, and others that do not.”
—John Simon (b. 1925)