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

Mealy machines are a better model of lexical analyzers

dc.citation.epage38en_US
dc.citation.issue1en_US
dc.citation.spage27en_US
dc.citation.volume22en_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:02:45Z
dc.date.available2014-12-08T15:02:45Z
dc.date.issued1996-04-01en_US
dc.description.abstractLexical analyzers partition input characters into tokens. When ambiguities arise during lexical analysis, the longest-match rule is generally adopted to resolve the ambiguities. The longest-match rule causes the look-ahead problem in traditional lexical analyzers, which are based on Moore machines. In Moore machines, output tokens are associated with stares of the automata. By contrast, because Mealy machines associate output tokens with state transitions, the look-ahead behaviors can be encoded in their state transition tables. Therefore, we believe that lexical analyzers should be based on Mealy machines, rather than Moore machines, in order to solve the look-ahead problem. We propose techniques to construct Mealy machines from regular expressions and to perform sequential and data-parallel lexical analysis with these Mealy machines. Copyright (C) 1996 Elsevier Science Ltden_US
dc.identifier.doi10.1016/0096-0551(96)00003-3en_US
dc.identifier.issn0096-0551en_US
dc.identifier.journalCOMPUTER LANGUAGESen_US
dc.identifier.urihttp://dx.doi.org/10.1016/0096-0551(96)00003-3en_US
dc.identifier.urihttps://ir.lib.nycu.edu.tw/handle/11536/1379
dc.identifier.wosnumberWOS:A1996VK93300003
dc.language.isoen_USen_US
dc.subjectautomataen_US
dc.subjectfinite-lookahead automataen_US
dc.subjectlexical analysisen_US
dc.subjectMealy machinesen_US
dc.subjectMoore machinesen_US
dc.subjectparallel algorithmsen_US
dc.subjectregular expressionsen_US
dc.subjectsuffix automataen_US
dc.titleMealy machines are a better model of lexical analyzersen_US
dc.typeArticleen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
A1996VK93300003.pdf
Size:
1.13 MB
Format:
Adobe Portable Document Format

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: