3.0 Introduction

3.1 Metalanguage

3.2 The Driver

3.3 The Generator

3.4 Error Handling

3.5 Generating vs. Writing

3.6 LEX, A Lexical Analyzer Generator

3.7 Summary

Web References

Exercises

mod3pic1.gif (8121 bytes)

3.0 Introduction

A scanner generator, also called a lexical analyzer generator, follows the form shown in Module 1:

In Figure 1, the scanner is shown in two parts - the table or program stub which is generated and the driver which is written, not generated.

Send questions and comments to: Karen Lemone