Implementation and optimization of the discussion of the micro - compiler
- Author
- XiangZuo
- Advisor
- ChenWenYu , YangWenYin
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP313 Assembler
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 182
- Citations
- 3
Abstract
With the rapid development of computer science and technology , the application of computer technology in a growing number of areas , and a large number of various functions of the software development , application in which we live, learn and work . Accordingly , also generated a lot of high level programming language used to write computer programs . Programming by specific language compiler to write your own source code translated into the target program on a particular machine , so as to further achieve the purpose of the program execution . The compiler is a fairly complex procedure , and the length of its code to 1000000 rows ranging from 10,000 lines to write or even read such a program is not easy . However , almost all forms of calculation procedures to use to the compiler , and a deal with the computer professionals should master the basic structure of the compiler and operating . In addition , a task that is frequently encountered in computer application command interpreter and interface program development , which is smaller than the compiler , but the use of it is very similar techniques . Therefore , to master this technology has great practical significance . Set forth in the present paper is related to this topic . In this paper , preliminary implementation on a micro- level programming language , that the MINI language design , as well as the language compiler that MINI compiler . Analysis or translation through the various stages of the compiler module , it is possible to translate the for a MINI language source code and object code of the machine based on MM , and then be executed by the MM simulator , and finally to give the program execution results . MINI compilation system implementation is based on the form of language and automata theory as the theoretical basis , drawing on the function of the system and method of the common compile . Thesis on the significance of the various stages of the MINI compilation system , functions , methods and algorithms in detail , the basic description consists mainly MINI language design , parsing and lexical analysis MINI compiler design , semantic analysis and design , run time environment , code generation design , code optimization design and compiler optimization discussion . Overall , the paper elaborated to construct a miniature high-level language compiler ideas and methods .
Table of contents
Abstract 4-5
ABSTRACT 5-8
Chapter Introduction 8-12
1.1 Background and Significance of topics 8 -9
1.2 and issues related to domestic and international dynamics 9-10
1.3 research objectives 10
1.4 of the main work 10 - 11
1.5 thesis is organized 11-12
Chapter research basis for the work 12-19
2.1 compiler system Overview 12 - 13
2.2 compiler structure 13-15
2.3 compiler Organization 15-16
2.4 compiler main data structure 16 -17
2.5 compiler development 17-19
Chapter MINI and MINI language compiler 19-25
3.1 MINI compiler development background and meaning 19
3.2 MINI basic description language 19-20
3.3 MINI compiler features 20-21
3.4 MINI compiler program structure 21-22
3.5 MINI compiler main data structure 22-25
Chapter MINI compiler implementation 25-51 <br / > 4.1 lexical analysis phase 25-28
4.2 syntax analysis phase 28-30
4.3 semantic analysis phase 30-32
4.4 MINI runtime environmental 32-34
4.5 code generation phase 34-43
4.6 code optimization phase 43-47
4.7 MINI compiler to use 47-51
Chapter miniature compiler code optimization discussion 51-59
5.1 code optimization proposed 51-52
5.2 code optimization the main species 52-59
Chapter Summary and Outlook 59-62
6.1 paper summarizes 59-60
6.2 further work 60-62
Thanks 62-63
References 63-64
resume and papers published by 64-65
Related dissertations
- Design and optimization of multi DSP image fusion
- Research on Some Related Problems about Model-based Diagnosis
- The Realization and Performance Analysis of LDPC-Coded Cooperation and Its Equivalent Point-to-Point Channel Model
- Design and Research on Retargetable C Compiler for Media Processors
- Key Technology and Applications of Network Coding
- The Design and Implementation of the MPEG-4 Encoding Technology Based on DSP
- Implementation of Middle-Bitrate Audio Codecs on Fixed Point DSP Chip in VoIP System
- Voice secure transmission system research and design development
- Based on parallel processing unit code optimization method
- The Research and Embedded Application of H.264 Coding Algorithm
- Software Engineering in GMDSS simulator development application
- With the applications based on TMS320DM642 G.726 audio codec
- H.264 Video Encoder Realization and Optimization Based on ADSP-BF561
- Research and Development of the Cross Compiler Based on GCC for Embedded System
- DSP-based airborne video recorder design
- License Plate Recognition and DSP Implementation
- Noisy background sound source localization and voice separation technology research to achieve
- Implementation of MPEG-4 Video Coding and JPEG Compression Algorithm on OMAP5910
- Research on Key Technologies of VoIP and the Implement of Endpoint Model
- Interpolation and Background-Color-Clearing Method Research for Engineering Scanner Software