Jump to content

LL parser

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 203.109.252.2 (talk) at 19:55, 18 June 2002. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

An algorithm for scanning a sentence from certain context-free grammars from Left to right, and constructing a Leftmost derivation of the sentence (Hence LL, compare with LR parser). The class of grammars which are parsable in this way is known as the LL grammars, and includes several of the older programming languages. This is because LL parsers are usually simple to produce by hand.