Access the full text.
Sign up today, get DeepDyve free for 14 days.
RE2C: A More Versatile Scanner Generator PETER BUMBULlS University and DONALD D. COWAN of Waterloo It is usually claimed that lexical analysis routines are still coded by hand, despite the widespread availability of scanner generators, for efficiency reasons. While efficiency is a consideration, there exist freely available scanner generators such as GLA [Gray 19881 that can generate scanners that are faster than most hand-coded ones. However, most generated scanners are tailored for a particular environment, and retargeting these scanners to other environments, if possible, is usually complex enough to make a hand-coded scanner more appealing, In this paper we describe RE2C, a scanner generator that not only generates scanners that are faster (and usually smaller) than those produced by any other scanner generator known to the authors, including GLA, but that also adapt easily to any environment. Categories and Subject Descriptors: D.3.2 [Programming Languages]: Language Classitlcations specialized application languages; D.3.4 [Programming Languages]: Processors General Additional Terms: Algorithms, Languages, Performance analysis, scanner generator Key Words and Phrases: Lexical 1. INTRODUCTION Lexical analysis routines are still often coded by hand despite the widespread availability of scanner generators. have a scanner generator installed 1988]), few UNIX applications For example, while most
ACM Letters on Programming Languages and Systems (LOPLAS) – Association for Computing Machinery
Published: Mar 1, 1993
Read and print from thousands of top scholarly journals.
Already have an account? Log in
Bookmark this article. You can see your Bookmarks on your DeepDyve Library.
To save an article, log in first, or sign up for a DeepDyve account if you don’t already have one.
Copy and paste the desired citation format or use the link below to download a file formatted for EndNote
Access the full text.
Sign up today, get DeepDyve free for 14 days.
All DeepDyve websites use cookies to improve your online experience. They were placed on your computer when you launched this website. You can change your cookie settings through your browser.