Deterministic Context-free Language - Importance

Importance

The languages of this class have great practical importance in computer science as they can be parsed much more efficienly than nondeterministic context-free languages. The complexity of the program and execution time of a deterministic pushdown automaton is vastly less than that of a nondeterministic one. In the naive implementation, the latter must make copies of the stack every time a nondeterministic step occurs. The best known algorithm to test membership in any context-free language is Valiant's algorithm, taking O(n2.378) time, where n is the length of the string. On the other hand, deterministic context-free languages can be accepted in O(n) time by a LR(k) parser. This is very important for computer language translation because many computer languages belong to this class of languages.

Read more about this topic:  Deterministic Context-free Language

Famous quotes containing the word importance:

    People without imagination are beginning to tire of the importance attached to comfort, to culture, to leisure, to all that destroys imagination. This means that people are not really tired of comfort, culture and leisure, but of the use to which they are put, which is precisely what stops us enjoying them.
    Raoul Vaneigem (b. 1934)

    An interesting play cannot in the nature of things mean anything but a play in which problems of conduct and character of personal importance to the audience are raised and suggestively discussed.
    George Bernard Shaw (1856–1950)

    There is, I think, no point in the philosophy of progressive education which is sounder than its emphasis upon the importance of the participation of the learner in the formation of the purposes which direct his activities in the learning process, just as there is no defect in traditional education greater than its failure to secure the active cooperation of the pupil in construction of the purposes involved in his studying.
    John Dewey (1859–1952)