Gives a brief introduction of a compiler construction tool —YACC. How to install the implement tool of YACC, Parser Generator, is also discussed. At the end of the paper, the author gives an example of YACC.%对编译程序的构造工具YACC作了简单介绍,并介绍了如何在VC++中使用和安装YACC的实现工具ParserGenerator。最后,给出了具体实例,使读者对YACC有一个具体的了解。
展开▼