Description: Very tough, learning to compile principle must not be missed!------------------------------------ Compilation Principle of several experiments: 1. Lexical Analysis 2. Grammar Analysis 3. expression evaluation 4. Quaternion-style intermediate code C, and two VC environment,
File list (Check if you may need any files):
1词法分析
.........\pas.PAS
.........\词法分析程序并生成相应的类号.doc
2语法分析
.........\语法分析程序(递归下降法).doc
3表达式求值
...........\表达式求值.doc
4四元式中间代码
...............\4元式.doc
...............\Comp.pas
...............\exp6.doc
实验
....\实验内容
....\........\实验一 编写一个词法分析程序并生成相应的类号.doc
....\........\实验三 用优先函数实现对表达式的运算.doc
....\........\实验二 语法分析程序(递归下降法).doc
....\........\实验四 编写一个语法分析程序并生成四元式中间代码(选).doc
....\源码
....\....\c语言版
....\....\.......\实验一 YY.C
....\....\.......\实验三 OP.C
....\....\.......\实验二Read.c
....\....\VC++版
....\....\......\实验一 WordPars
....\....\......\...............\Debug
....\....\......\...............\pas.PAS
....\....\......\...............\ReadMe.txt
....\....\......\...............\StdAfx.cpp
....\....\......\...............\StdAfx.h
....\....\......\...............\WordPars.cpp
....\....\......\...............\WordPars.dsp
....\....\......\...............\WordPars.dsw
....\....\......\...............\WordPars.ncb
....\....\......\...............\WordPars.opt
....\....\......\...............\WordPars.plg
....\....\......\实验三 Opration Prior
....\....\......\......................\Debug
....\....\......\......................\Opration Prior.cpp
....\....\......\......................\Opration Prior.dsp
....\....\......\......................\Opration Prior.dsw
....\....\......\......................\Opration Prior.ncb
....\....\......\......................\Opration Prior.opt
....\....\......\......................\Opration Prior.plg
....\....\......\......................\ReadMe.txt
....\....\......\......................\StdAfx.cpp
....\....\......\......................\StdAfx.h
....\....\......\实验三 Opration Prior New
....\....\......\.........................\Debug
....\....\......\.........................\document1.txt
....\....\......\.........................\document3.txt
....\....\......\.........................\Opration Prior New.cpp
....\....\......\.........................\Opration Prior New.dsp
....\....\......\.........................\Opration Prior New.dsw
....\....\......\.........................\Opration Prior New.ncb
....\....\......\.........................\Opration Prior New.opt
....\....\......\.........................\Opration Prior New.plg
....\....\......\.........................\ReadMe.txt
....\....\......\.........................\StdAfx.cpp
....\....\......\.........................\StdAfx.h
....\....\......\实验二 RecureDesent
....\....\......\...................\Debug
....\....\......\...................\pas.txt
....\....\......\...................\ReadMe.txt
....\....\......\...................\RecureDesent.cpp
....\....\......\...................\RecureDesent.dsp
....\....\......\...................\RecureDesent.dsw
....\....\......\...................\RecureDesent.ncb
....\....\......\...................\RecureDesent.opt
....\....\......\...................\RecureDesent.plg
....\....\......\...................\StdAfx.cpp
....\....\......\...................\StdAfx.h