期刊文献+

基于状态回朔技术的规范LR分析算法

Canonical LR Parsing Algorithm Based on State Backtracking Technique
下载PDF
导出
摘要 LR分析技术以其自身的优点在实际当中有着非常广泛的应用,但是,能够识别LR(1)语言的规范LR分析器由于其下推自动机的复杂性,其实用性受到比较大的限制。通过回朔下推自动机的状态迁移路径能够从根本上解决这一问题。主要讨论了基于状态回朔技术的规范型LR分析器的基本原理与构造技术。 With its excellent characteristics,LR analysis technique has gained extensive use in pratical. But the practicability of the canonical LR parser, recognizer for the LR(1) language, is strictly limited for the sake of its push down automaton's complexity. Taking advantage of state backtracking technique, we can solve this problem radically. The principles and constructing techniques of the canonical LR parser based on states backtracking technique were presented.
出处 《计算机科学》 CSCD 北大核心 2009年第2期179-180,198,共3页 Computer Science
基金 国家自然科学基金重点项目(No.60736008) 西北大学博士科研启动基金(No.kyqdf192)资助
关键词 LR分析 规范型LR分析器 YACC LR parsing, Canonical LR parser, Yacc
  • 相关文献

参考文献10

  • 1金毅,陆蓓,王小华.一种较少状态数的LR分析器[J].杭州电子科技大学学报(自然科学版),2006,26(3):74-77. 被引量:1
  • 2Adrian D, James R. A backtracking LR algorithm for parsing ambiguous context-dependent languages///Proceedings of the 2006 Conference of the Center for Advanced Studies on Collaborative research. Oct. 2006
  • 3McPeak S, George C, Elkhound. A fast , practical GLR parser generator//Compiler construction:13^th International Conference (CC'04),Volume 2985 of Lecture Notes in Computer Science. April 2004
  • 4Grosch J. Lark-An LALR(2) parser generator with backtracking. Technical Report 32, CoCoLab-Datenverarbeitung, Sep. 2002
  • 5Dodd C, MaslovV. BacktrackingYacc, 2006. http ://www. siber. com/btyacc/
  • 6Spencer M. Basil:A backtracking LR parser generator, 2006. http://www.lazycplusplus.com/basil/
  • 7Aho A V, Sethi R, Ullman J D. Compilers .. Principles, Tech - nique.s, and Tools. Addison Wesley, Pearson Education, Inc, 1986
  • 8Hopcroft J E , Ullman J D. Introduction to Automata Theory , Languages, and Computation.Addison Wesley, Reading, Mass, 1979
  • 9Levine J R,Mason T,Brown D. Lex & Yacc. O'Reilly & Associates, Inc. , 1992
  • 10Scott M L. Programming Language Pragmatics. Elsevier Inc. , 2000

二级参考文献2

  • 1John E Hopcroft,Rajeev Motwani,Jeffrey D Ullman.Introduction to Automata Theory,Languages,and Computation[M].北京:机械工业出版社,2004:105-112.
  • 2Alfred V Aho,Ravi Sethi,Jeffrey D Ullman.Compilers:Principle,Techniques,and Tools[M].北京:人民邮电出版社,2001:215-247.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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