Method for analyzing data and performing lexical analysis
Abstract
A system and method provide the ability to construct lexical analyzers on the fly in an efficient and pervasive manner. The system and method split the table describing the automata into two distinct tables and splits the lexical analyzer into two phases, one for each table. The two phases consist of a single transition algorithm and a range transition algorithm, both of which are table driven and permit the dynamic modification of those tables during operation. A third ‘entry point’ table may also be used to speed up the process of finding the first table element from state 0 for any given input character.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 29.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for performing lexical analysis with a lexical analyzer running in a memory of a processor, the method comprising the steps of: (a) creating a first table in the memory, wherein said first table describes one or more single character transitions using records of a first type; (b) creating a second table in the memory, wherein said second table is an ordered series of records of a second type; (c) receiving a text input into the lexical analyzer; (d) searching said records in said first table for a matching record against each successive character of said text input; (e) if said matchi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 29 total)
References Cited — Backward Prior Art (16)
Non-Patent Literature (4)
- Hamlet et al, "Exploring dataflow testing of arrays", IEEE, pp. 118-129, 1993.
- Menier et al, "Lexical analyze based on self organizing feature map", IEEE, pp. 1067-1071, 1997.
- Reps, "Maximal munch tokenization in linear", ACM Trans. Prog. Language and Systems, vol. 20, No. 2, pp. 259-273, 1998.
- Takase et al, "An adaptive fast and safe XML parser based on byte sequences memorization", ACM WWW, pp. 692-701, 2005.