| |
| | LL(1) Parsers |
 | | The method is called recursive descent because the parser is implemented as a set of mutually recursive parsing routines, and because it is a top-down method. |
 | | The parser, once written, becomes the foundation of the whole compiler, and the scope analyser, type analyser, and code generator are all relatively easily integrated into the parser. |
 | | We will assume that a Token has the representation discussed in the chapter on the scanner, that is it has a field byte token which contains the enumerated type value of the token, and int value, which contains the value of the numeral or the unique integer associated with a name. |
| www.mcs.csuhayward.edu /~simon/handouts/4110/notes/ll1.html (3158 words) |
|