pl0

所属分类:编译器/解释器
开发工具:Visual C++
文件大小:9KB
下载次数:5
上传日期:2014-03-28 20:40:11
上 传 者dushu
说明:  中科大编译原理实验PL0编译器的主要的源代码!!!!!
(USTC compiler PL0 compiler principle experiments of main source code!!!!!!!!!!!!!!!!!!!!!)

文件列表:
pl0\src\pl0.c (11892, 2012-02-11)
pl0\include\pl0.h (2804, 2011-04-19)
pl0\test\multiply.pl0 (281, 2009-11-08)
pl0\test\multiply.res (1530, 2009-11-09)
pl0\test\tests.res (4481, 2012-02-11)
pl0\test\tests.pl0 (716, 2009-11-26)
pl0\Makefile (408, 2012-02-12)
pl0\make.simple (130, 2012-02-12)
pl0\src (0, 2012-02-12)
pl0\include (0, 2012-02-12)
pl0\test (0, 2012-02-12)
pl0 (0, 2012-02-12)

PL/0 Project's Source Tree ========================== 1. Introduction PL/0 is similar to but much simpler than the general-purpose programming language Pascal, intended as an educational programming language. It serves as an example of how to construct a compiler. It was originally introduced in the book, Algorithms + Data Structures = Programs, by Niklaus Wirth in 1975. This README contains basic information about building, and running PL/0 or its extended compiler. If you're running on a Linux system, then just make sure you have the standard GCC installed. 2. Source Tree This PL/0 project distribution includes the following files and directories: ----------------------------------------------------------------- README this file Makefile a makefile to build PL/0 compiler or its extension make.simple a simple makefile to build PL/0 compiler src directory storing source files include directory storing header files test directory storing test files and their results ----------------------------------------------------------------- The following directories are recommended to store objective files, execution files and documents for your project. doc directory storing documents bin directory storing execution/objective files 3. Building PL/0 compiler (Build PL/0 compiler) $ make or $ make -f make.simple (Clean PL/0 compiler) $ make clean or $ make -f make.simple clean 4. Running PL/0 compiler $ bin/pl0 please input source program file name: test/tests.pl0 or $ cd bin $ ./pl0 please input source program file name: test/tests.pl0 or $ bin/pl0 >test/t.res then input "test/tests.pl0" ======== Yu Zhang ( yuzhang@ustc.edu.cn ) School of Computer Science and Technology University of Science and Technology of *** Hefei, Anhui, P.R.***

近期下载者

相关文件


收藏者