Objects for lexical analysis

Show full item record

Redirect: RIT Scholars content from RIT Digital Media Library has moved from http://ritdml.rit.edu/handle/1850/8560 to RIT Scholar Works http://scholarworks.rit.edu/article/660, please update your feeds & links!
Title: Objects for lexical analysis
Author: Kuhl, Bernd; Schreiner, Axel-Tobias
Abstract: This paper presents a new idea for lexical analysis: lolo (language-oriented lexer objects) is strictly based on the object orientation paradigm. We introduce the idea behind the system, describe the implementation, and compare it to the conventional approach using lex[1] or flex[2].lolo[3] extracts symbols from a sequence of input characters belonging to the ASCII or Unicode sets. lolo scanners can be extended without access to the source code: symbol recognizers can be derived by inheritance and an executing scanner can be reconfigured for different contexts. Recognizer actions are represented by objects which may be replaced at any time. Recognizers need not be based on finite state automata; therefore, lolo can recognize symbols that systems like lex cannot recognize directly.
Description: Copyright ACM, 2002. This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in ACM SIGPLAN Notices, Volume 37, Issue 2 (February 2002). http://doi.acm.org/10.1145/568600.568610
Record URI: http://hdl.handle.net/1850/8560
Date: 2002

Files in this item

Files Size Format View
BKuhlArticle02-2002.pdf 145.1Kb PDF View/Open

The following license files are associated with this item:

This item appears in the following Collection(s)

Show full item record

Search RIT DML

Advanced Search