资 源 简 介
一个flex和bison用法入门的很好的例子。 按照词法分析,语法分析,语义分析的顺序来熟悉flex和bison这两个有力的工具。最后给出了一个用flex做词法分析用bison做语法分析设计的科学计算器(不同于一般程序设计中的入门级计算器),是学习编译原理的很好的例子。-a flex and bison portal usage of a very good example. According lexical analysis, parsing, Semantic analysis of the sequence to flex and bison familiar with these two powerful tool. Finally, a use flex do lexical analysis bison do syntax analysis and design of scientific calculators (unlike General Program Design"s entry-level calculators), compiler theory is the study of good examples.