Please wait a minute...
 
主管单位:广东省科学技术厅
主办单位:广东省科技合作研究促进中心
编辑出版:《电脑与电信》编辑部
ISSN 1008-6609 CN 44-1606/TN
邮发代号:46-95
国内发行:广东省报刊发行局
《电脑与电信》唯一官方网站。
  2011, Vol. 1 Issue (12): 0-0    
  应用技术与研究 本期目录 | 过刊浏览 | 高级检索 |
正规文法在词法分析器建模中的应用研究
罗海丽
内蒙古科技大学 信息工程学院
The Research of Using Rule Grammar in Making Model for Lexical Analyzer
Luo Haili
Inner Mongolia University of Science and Technology
全文: PDF(0 KB)  
输出: BibTeX | EndNote (RIS)      
摘要 利用正规文法对词法分析器建模的核心是用正规文法建立词法模型。以PL/0语言为例描述了用正规文法建立词法模型及以正规文法形式的词法模型为基础构造词法分析器的过程,并通过实例分析了用这种方法产生的词法分析器的工作过程。以正规文法形式的词法模型为基础构造词法分析器的方法比其它词法分析器的构造方法更为简洁、高效。
服务
把本文推荐给朋友
加入引用管理器
E-mail Alert
RSS
作者相关文章
罗海丽
关键词 正规文法有穷自动机控制程序词法模型词法分析器    
Abstract: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/0. 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.
Key wordsrule grammar    DFA    the control program    lexical model    lexical analyzer
收稿日期: 1900-01-01 年卷期日期: 2011-12-10      出版日期: 2011-12-10
引用本文:   
罗海丽. 正规文法在词法分析器建模中的应用研究[J]. , 2011, 1(12): 0-0.
Luo Haili. The Research of Using Rule Grammar in Making Model for Lexical Analyzer. , 2011, 1(12): 0-0.
链接本文:  
https://www.computertelecom.com.cn/CN/  或          https://www.computertelecom.com.cn/CN/Y2011/V1/I12/0
[1] 杨超, 郑志群, 何书前, 石春. 构造直接编程的词法分析器[J]. 电脑与电信, 2018, 1(1-2): 1-4.
No Suggested Reading articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
  Copyright © 电脑与电信 All Rights Reserved.
地址:广州市连新路171号广东国际科技中心 邮编:510033
本系统由北京玛格泰克科技发展有限公司设计开发 技术支持:support@magtech.com.cn
粤ICP备05080322号-4