Design and implementation of a simple mini- compiler Micro-X 's
- Author
- XuYan
- Advisor
- HouMengShu , ZuoQiang
- School
- University of Electronic Science and Technology
- Major
- Computer technology
- Classification
- TP314 Compiler,interpreter
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 42
- Citations
- 0
Abstract
Language compiler is a very complex system programs, the length of such a system code can be from thousands to several millions of lines of the line range, so even write a program to read is not easy to do. But almost all types of calculations are used to the compiler, and any contact with the computer professional should master the basic structure of the compiler and the corresponding operations. Therefore, to understand and master the development of compiler technology has very important practical significance. This thesis is elaborated in the development of compiler technology research this topic.The research projects goal is to define a micro-level programming language - Micro-X language. Using Visual Studio2008 development platform and C # language compiler for the language - Micro-X compiler. Micro-X compiler is based on the realization of the theory of formal languages and automata theory, refer to the function of common compiler and development methods in order to achieve Micro-X lexical analysis phase of compiler design, syntax analysis stage design, stage design semantic analysis , intermediate code generation process, run-time environment, the target code generation, etc., and to visually show the various stages of the formation of the state. Various stages of completion of a modular form, the modules are in units of the project file to compile, and ultimately generate Micro-X compiler executable file. After a study of this subject to realize the form of the command line compiler called Micro-X, and on the extension. X of the Micro-X language source code to compile, if the source is not an error, then the resulting object code is 80X86 assembly code. Ultimately the subject of an efficient, error-free, easy to operate, easy to detect micro-compiler and the compiler can be run at all stages of the visual interface to display the results of the forms, so the compiler can be used in compiling Practice-related courses teaching.
Related dissertations
- Research on Software Pipelining Based on GCC
- Design and optimization of multi DSP image fusion
- Research and Implementation of Key Technologies for YHFT-Matrix Compiler Based on GCC
- The Design and Implementation of a Complier for SCADA Based on C
- Backend Porting for CSKY Based on LLVM Compiler Infrastructure
- Establishment and Verification of the Timing and Power Consumption Model for the Embedded SRAM Compiler
- The Embedded SRAM Compiler Design and IP Verification
- Research on Some Related Problems about Model-based Diagnosis
- Design and Implementation of SQL Compiler on Column-Oriented Database
- Design and Implementation of Configurable Compiling Tools
- The Optimized Frontend Compiling System Design for Remus Ⅱ Reconfigurable Processor
- A Self-Adapted Prolog Compiler
- The Design and Realization of Programming Device Based on the Type of STM8S208Single Chip Microcomputer as the Controller
- Research and Design of Digital Broadcast Platforms
- The Realization and Performance Analysis of LDPC-Coded Cooperation and Its Equivalent Point-to-Point Channel Model
- Automatic Platform for Parameterized Design of ASIP
- The design of embedded SRAM compiler
- Design and Implementation of Memory Compiler for Embedded SOC
- A Study on Preface of Selections of Novels in the Great Series of the New Literature 1917-1927
- Study on Virtual Instrumentation Development Environment Based on Dataflow Visual Programming Language