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

LR分析的教学法探讨
引用本文:李侃,王贵珍,计卫星.LR分析的教学法探讨[J].计算机教育,2010(3):26-29.
作者姓名:李侃  王贵珍  计卫星
作者单位:北京理工大学,计算机学院,北京,100081
摘    要:LR分析法是编译程序语法分析中最常用且有效的自下而上的分析方法,理论较完善,适用于大多数上下文无关语言的分析。本文主要探讨LR分析的教学方法,采用"启发+关联式"教学法,引导学生理解LR分析的内涵。

关 键 词:LR分析法  项目集规范族  LR分析表  LR文法

Teaching Method of LR Parsing
LI Kan,WANG Gui-zhen,JI Wei-xing.Teaching Method of LR Parsing[J].Computor Education,2010(3):26-29.
Authors:LI Kan  WANG Gui-zhen  JI Wei-xing
Affiliation:School of Computer/a>;Beijing Institute of Technology/a>;Beijing 100081/a>;China
Abstract:LR parsing,which has relatively completed theory,is the most commonly used and effective bottom-top method in the syntax analysis of compiler,and is applied to the analysis of most of context-free languages.Teaching method of LR parsing is discussed in the paper.Heuristic and relational teaching method is used to guide students to understand meaning of LR parsing.
Keywords:LR parsing  canonical collection of set of items  LR parsing table  LR grammar  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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