<link rel="stylesheet" href="styles.cf390c6bfbe7555f.css"> Skip to main content

ON THE LOOK-AHEAD PROBLEM IN LEXICAL ANALYSIS

dc.citation.epage476en_US
dc.citation.issue5en_US
dc.citation.spage459en_US
dc.citation.volume32en_US
dc.citation.woscount4
dc.contributor.authorYANG, Wen_US
dc.contributor.department交大名義發表zh_TW
dc.contributor.department資訊工程學系zh_TW
dc.contributor.departmentNational Chiao Tung Universityen_US
dc.contributor.departmentDepartment of Computer Scienceen_US
dc.date.accessioned2014-12-08T15:03:15Z
dc.date.available2014-12-08T15:03:15Z
dc.date.issued1995-08-01en_US
dc.description.abstractModern programming languages use regular expressions to define valid tokens, Traditional lexical analyzers based on minimum deterministic finite automata for regular expressions cannot handle the look-ahead problem. The scanner writer needs to explicitly identify the look-ahead states and code the buffering and re-scanning operations by hand. We identify the class of finite look-ahead finite automata, which is general enough to include all finite automata of practical lexical analyzers, Finite look-ahead finite automata are then transformed into suffix finite automata. A new lexical analyzer makes use of the suffix finite automata to identify tokens. The new lexical analyzer solves the look-ahead problem in a table-driven approach and it can detect lexical errors at an earlier time than traditional lexical analyzers. The extra cost of the new lexical analyzers is the larger state transition table and three additional 1-dimensional tables. Incremental lexical analysis is also discussed.en_US
dc.identifier.doi10.1007/BF01213079en_US
dc.identifier.issn0001-5903en_US
dc.identifier.journalACTA INFORMATICAen_US
dc.identifier.urihttp://dx.doi.org/10.1007/BF01213079en_US
dc.identifier.urihttps://ir.lib.nycu.edu.tw/handle/11536/1806
dc.identifier.wosnumberWOS:A1995RP45800002
dc.language.isoen_USen_US
dc.titleON THE LOOK-AHEAD PROBLEM IN LEXICAL ANALYSISen_US
dc.typeArticleen_US

Files

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed to upon submission
Description: