期刊文献+

正规文法在词法分析器建模中的应用研究

The Research of Using Rule Grammar in Making Model for Lexical Analyzer
下载PDF
导出
摘要 利用正规文法对词法分析器建模的核心是用正规文法建立词法模型。以PL/0语言为例描述了用正规文法建立词法模型及以正规文法形式的词法模型为基础构造词法分析器的过程,并通过实例分析了用这种方法产生的词法分析器的工作过程。以正规文法形式的词法模型为基础构造词法分析器的方法比其它词法分析器的构造方法更为简洁、高效。 The core of making model for lexical analyzer by rule grammar is making lexical model by rule grammar. The process of making lexical model by rule grammar and constructing lexical analyzer based on the lexical model is described with PL/O. The working process of the lexical analyzer made by this method is analyzed with an example. The method of making lexical analyzer based on the lexical model is easier and efficient.
作者 罗海丽
出处 《电脑与电信》 2011年第12期52-53,共2页 Computer & Telecommunication
关键词 正规文法 有穷自动机 控制程序 词法模型 词法分析器 rule grammar DFA the control program lexical model lexical analyzer
  • 相关文献

参考文献2

二级参考文献1

  • 1胡元义.编译原理教程(第2版)[M].西安:西安电子科技大学出版社,2006.

共引文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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