期刊文献+

基于属性文法的正规式到NFA的转换 被引量:1

Regular Expression to NFA Based on Syntax-Directed Translation
下载PDF
导出
摘要 用状态转换图分析正规式时需要考虑的情况比较多,容易造成疏漏。且这种方法需要递归进行,多次扫描正规式,效率不高。该文采用SLR分析加属性文法只需一遍扫描就可以将正规式转存为NFA,效率要高得多。 Lots of situations should be considered to analyze a regular expression with transition diagrams, and the analysis might fail even if one situation is neglected. Otherwise, this method needs scan the expression more than one time because of using recursion. This paper uses SLR and syntax-directed translation, which only needs one time scan and makes the efficiency much higher.
作者 张志远
出处 《计算机工程》 CAS CSCD 北大核心 2005年第B07期138-139,142,共3页 Computer Engineering
关键词 属性文法 正规式 NFA SLR Syntax-directed translation Regular expression NFA SLR
  • 相关文献

参考文献1

  • 1Aho A V,Sethi R,Ullman J D.Compilers:Principles,Techniques,and Tools.Post & Telecommunications Press,2002.

同被引文献5

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部