1992
DOI: 10.1145/133233.133240
|View full text |Cite
|
Sign up to set email alerts
|

Incremental generation of lexical scanners

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 scannin… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
9
0

Year Published

1996
1996
2020
2020

Publication Types

Select...
5
1
1

Relationship

1
6

Authors

Journals

citations
Cited by 15 publications
(9 citation statements)
references
References 6 publications
0
9
0
Order By: Relevance
“…The implementation of SDF is beyond the scope of this article. Suffice it to say, its implementation supports interactive syntax development and fully general context-free parsing by means of scanner and parser generators that are both lazy (just-in-time) and incremental [Heering et al 1990;Heering et al 1992;Heering et al 1994]. SDF is currently being superseded by SDF2 [Visser 1997], whose main feature is a very close integration of lexical and context-free syntax.…”
Section: Introductionmentioning
confidence: 99%
“…The implementation of SDF is beyond the scope of this article. Suffice it to say, its implementation supports interactive syntax development and fully general context-free parsing by means of scanner and parser generators that are both lazy (just-in-time) and incremental [Heering et al 1990;Heering et al 1992;Heering et al 1994]. SDF is currently being superseded by SDF2 [Visser 1997], whose main feature is a very close integration of lexical and context-free syntax.…”
Section: Introductionmentioning
confidence: 99%
“…In [34], a technique for lazy and incremental generation of lexical analyzers is presented. A lexical analyzer is devoted to the recognition of several regular expressions and, as pointed out earlier, it is based on a minimized DFA, which is used to perform the actual matching of the input string.…”
Section: Definition 2 (Incremental Determinization and Minimization Pmentioning
confidence: 99%
“…They give us both flexibility and efficiency. [17] presents a method to incrementally build the underlying DFA, which we can use to avoid the potentially enormous memory and computation required to generate the complete DFA for thousands of signatures. An extended form of regular expressions has been used in intrusion detection for defining sequences of events [30], but to our knowledge no NIDS uses them for actually matching multiple byte patterns against the payload of packets.…”
Section: Related Workmentioning
confidence: 99%
“…Instead of pre-computing the DFA, we build the DFA "on-thefly" during the actual matching [17]. Each time the DFA needs to transit into a state that is not already constructed, we compute the new state and record it for future reuse.…”
Section: Regular Expressionsmentioning
confidence: 99%