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

Request the full text

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

  1. Research on Software Pipelining Based on GCC
    Yang ·Harbin Engineering University ·2006 ·Master's thesis
  2. Design and optimization of multi DSP image fusion
  3. Research and Implementation of Key Technologies for YHFT-Matrix Compiler Based on GCC
  4. The Design and Implementation of a Complier for SCADA Based on C
  5. Backend Porting for CSKY Based on LLVM Compiler Infrastructure
    HuMin ·Zhejiang University ·2014 ·Master's thesis
  6. Establishment and Verification of the Timing and Power Consumption Model for the Embedded SRAM Compiler
    GongCai ·Anhui University ·2014 ·Master's thesis
  7. The Embedded SRAM Compiler Design and IP Verification
    LiuXiaoQing ·Anhui University ·2014 ·Master's thesis
  8. Research on Some Related Problems about Model-based Diagnosis
    XuPeiZhi ·Jilin University ·2012 ·Master's thesis
  9. Design and Implementation of SQL Compiler on Column-Oriented Database
    ZhenZhen ·South China University of Technology ·2012 ·Master's thesis
  10. Design and Implementation of Configurable Compiling Tools
    ZouYao ·Shanghai Jiaotong University ·2008 ·Master's thesis
  11. The Optimized Frontend Compiling System Design for Remus Ⅱ Reconfigurable Processor
    XieYuWei ·Shanghai Jiaotong University ·2013 ·Master's thesis
  12. A Self-Adapted Prolog Compiler
  13. The Design and Realization of Programming Device Based on the Type of STM8S208Single Chip Microcomputer as the Controller
    ChenXiong ·Wuhan Polytechnic University ·2012 ·Master's thesis
  14. Research and Design of Digital Broadcast Platforms
    GaoJianFang ·Hunan Normal University ·2012 ·Master's thesis
  15. The Realization and Performance Analysis of LDPC-Coded Cooperation and Its Equivalent Point-to-Point Channel Model
  16. Automatic Platform for Parameterized Design of ASIP
  17. The design of embedded SRAM compiler
  18. Design and Implementation of Memory Compiler for Embedded SOC
    GongZhanLi ·Anhui University ·2012 ·Master's thesis
  19. A Study on Preface of Selections of Novels in the Great Series of the New Literature 1917-1927
    ZhuZhiXiu ·Lanzhou University ·2008 ·Doctoral dissertation
  20. Study on Virtual Instrumentation Development Environment Based on Dataflow Visual Programming Language
    SuiYangZuo ·Jilin University ·2008 ·Doctoral dissertation