mill2002 @博客园

contacting with pc fans and sharing collections

2012年6月1日

编译器前端的Windows版命令行测试方法

摘要: "编译原理"(Compilers --Principles,Techniques and Tools,also called 'DragonBook')一书中所带的编译器前端的Windows版命令行测试方法:参考编译器前端(Front)所带的makefile文件,在命令行中输入:java main.Main <tests/$$i.t >tmp/$$i.i其中$$i.t代表测试文件,而$$i.i为输出文件,如tests文件夹中prog0.t,输出为tmp文件夹中的prog0.i。另外,Windows版命令行中如何执行makefile文件,以及如何写 阅读全文

posted @ 2012-06-01 20:27 mill2002 阅读(210) 评论(0) 推荐(0) 编辑

导航