想要设计迷你C编译器...在语法分析方面几乎没有困难 [英] wanted to designing the mini c compiler...phasing little difficulty in syntax analysis
本文介绍了想要设计迷你C编译器...在语法分析方面几乎没有困难的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用yacc设计递归下降解析器,LL解析器和LALR....
how to design recursive descent parser,LL parser and LALR using yacc....
推荐答案
购买 ^ ]并开始学习.
Buy the Dragon Book[^] and start studying.
编写编译器是这是一项艰巨的任务,但是有很多关于该主题的书籍,许多可用的教程以及许多不错的工具.
一些链接(已经建议的龙书"是一个很好的参考):
让我们来构建一个编译器,作者是Jack Crenshaw" [ Niklaus Wirth的编译器构造" [ Aaby的使用Flex和Bison进行编译器构建" [ ANTLR [ ^ ].
LPeg库 [
Writing a compiler is a daunting task, however there are many books on the topic, many tutorials available and, again, many good tools around.
Some links (the ''Dragon Book'', already suggested, is a good reference):
"Let''s Build a Compiler, by Jack Crenshaw"[^].
Niklaus Wirth''s "Compiler Construction"[^].
Aaby''s "Compiler Construction using Flex and Bison"[^].
ANTLR[^].
LPeg library[^].
这篇关于想要设计迷你C编译器...在语法分析方面几乎没有困难的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文