Incremental Generation of Lexical Scanners

13Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.

Abstract

It is common practice to specify textual patterns by means of a set of regular expressions and to transform this set into a finite automaton to be used for the scanning of input strings. In many applications, the cost of this preprocessing phase can be amortized over many uses of the constructed automaton. In this paper new techniques for lazy and incremental scanner generation are presented. The lazy technique postpones the construction of parts of the automaton until they are really needed during the scanning of input. The incremental technique allows modifications to the original set of regular expressions to be made and reuses major parts of the previous automaton. This is interesting in applications such as environments for the interactive development of language definitions in which modifications to the definition of lexical syntax and the uses of the generated scanners alternate frequently. © 1992, ACM. All rights reserved.

Cite

CITATION STYLE

APA

Heering, J., Klint, P., & Rekers, J. (1992). Incremental Generation of Lexical Scanners. ACM Transactions on Programming Languages and Systems (TOPLAS), 14(4), 490–520. https://doi.org/10.1145/133233.133240

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free