首页 | 本学科首页   官方微博 | 高级检索  
     

一种为二义性文法构造SLR(1)分析器的方法
引用本文:罗海丽.一种为二义性文法构造SLR(1)分析器的方法[J].广东电脑与电讯,2009(1).
作者姓名:罗海丽
作者单位:内蒙古科技大学信息工程学院,内蒙古包头014010
摘    要:文法具有二义性是实际中经常遇到的情况。本文以SLR(1)分析器为例介绍了一种为二义性文法构造语法分析器的方法,并通过实例分析了利用该方法进行语法分析的过程。

关 键 词:二义性文法  SLR(1)分析器  SLR(1)分析表

A Method of the Construction of SLR(1) Analyzer for Grammar with Ambiguity
Luo Haili.A Method of the Construction of SLR(1) Analyzer for Grammar with Ambiguity[J].Computer & Telecommunication,2009(1).
Authors:Luo Haili
Affiliation:Information Engineering school;UST Inner Mongolia;Baotou 014010;China
Abstract:Grammar with ambiguity can be confronted frequently.In this article,a method of constructing SLR(1) analyzer for grammar with ambiguity is introduced and the syntax parsing process of SLR(1) analyzer is analyzed by example.
Keywords:
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号