Description: The experiment was on the plane, through internships, deepen their understanding of grammar-guided understanding of the principles of translation, grammatical analysis will have identified components of the grammar is transformed into intermediate code semantic translation. Experimental decline to adopt the recursive grammar-guided translation of arithmetic expressions, assignment and semantic analysis to generate quaternion sequence. Experimental input and output analysis input is the correct syntax of the word string, the output for the three forms of instruction address sequence quaternion. For example: string for the statement begin a: = 2+3* 4 x: = (a+ b)/c end# output of the three address instructions are as follows: (1) t1 = 3* 4 (2) t2 = 2+ t1 (3) a = t2 (4) t3 = a+ b (5) t4 = t3/c (6) x = t4
To Search:
- [zy200512345] - this principle is to compile the source
- [p10_builder] - p10_builder
- [recursivedescentintegerarithmetic.Rar] - The program uses recursive descent algor
- [code] - while loop of the translation process to
- [ll(1)yuyi] - ll (1) Semantic Analyzer
- [yuyifxq] - A simple semantic parser, capable of ana
- [ccfx] - Experimental Objective: To use c languag
- [yffx] - Syntax analysis The experiment was C2.1
- [1] - Simple assignment of the translation pro
File list (Check if you may need any files):
语义分析
........\3_1
........\...\1.cpp
........\...\1.dsp
........\...\1.dsw
........\...\1.ncb
........\...\1.opt
........\...\1.plg
........\...\Debug
........\...\.....\1.exe
........\...\.....\1.ilk
........\...\.....\1.obj
........\...\.....\1.pch
........\...\.....\1.pdb
........\...\.....\vc60.idb
........\...\.....\vc60.pdb
........\实验设计模板.doc
........\语义分析.doc