next up previous contents index
Next: Regular expressions Up: Lexer and Parser Previous: Lexer and Parser

Lexer Specification

Lexical analyzers are specified using the matchscan statement. This construct is responsible for generating the actual string matching DFA. The actual buffering mechanisms are provided by the classes LexerBuffer, IOLexerBuffer and IOLexerStack. These classes are part of the support library distributed with Prop.

We assume that the user is familiar with lexer generator tools like lex[Les75] or flex[Pax90].





Allen Leung
Mon Apr 7 14:33:55 EDT 1997