OCCL Compiler for Linux

Author
GuoXiaoYan
Advisor
ZhuWangGui
School
Beijing University of Chemical Technology
Major
Applied Computer Technology
Classification
TP314 Compiler,interpreter
Degree
Master's thesis
Year
2003
Downloads
169
Citations
2

Request the full text

Abstract

The main purpose of this subject is a small design an optimized C compiler , it can work in the Linux operating system , the source program written in standard C code is translated into a custom virtual machine language , and be able to perform the correct results . OCCL is the first letter acronyms Optimizing C Compiler for Linux . The main reason to choose this subject a few below . First , the compiler is a fairly complex and very important program . Through exploration of the development process of a C compiler , will have a profound understanding of the various aspects of the compiler . , C is a common process language , the language of the current object type carrier is basically procedural , so mastered similar procedural language C compiler technology , it is not difficult to achieve the object-oriented language compiler . Finally, we ultimately achieve the goal of the code is based on a the virtual machine VMC custom code , through the interpretation of the implementation of this code to get the results of the final run . This technology can ensure OCCL compiler -based platform -independent . OCCL compiler design three times to complete . The first pass for lexical analysis and parsing ; second time for the semantic analysis and intermediate code generation ; the third time for the target code generation and implementation of the outcome . So that the overall program design structure is clear, easy to achieve optimization measures , the high quality of the object code . The final implementation OCCL compiler, able to correctly compile code in ANSI C language collections belong to us . Meanwhile, in the realization of each step , try to lt ; WP = gt ; apply some new ideas , new methods , to make OCCL compiler has its own characteristics . For example , in the symbol table in the design process , the separation level hash table for this data structure , and improve the search speed of the compiler . Generate the object code , the method used was the President into a virtual machine code interpreted virtual machine code execution to arrive at a final run results . This makes it easy OCCL compiler transplantation in different target machine .

Related dissertations

  1. The Design and Implementation of LL(1) Action Grammar Compiler’s Automatic Constructor in Java Language
    ZhangHongTao ·Jilin University ·2005 ·Master's thesis
  2. The Construction of Complier for SQL--Basing on Linux Operating System
  3. Using Lexical and Semantic Analysis for Ontology Integration
  4. Dynamic Structure of Modern Chinese
    HongZuo ·Nanjing Normal University ·2004 ·Doctoral dissertation
  5. Formal specification language LFC implementations and applied research
    HuangWenJi ·Institute of Software ·2004 ·Doctoral dissertation
  6. Source Code Assessment System Research and Development
  7. Visual Implementation of Operational Semantics of Procedural Programming Languages
    SunXuDong ·Jilin University ·2008 ·Master's thesis
  8. The Design and Implementation of the DSQL Based on the Domain Data Model
    XuJingRong ·Suzhou University ·2007 ·Master's thesis
  9. Research and Design of TTCN-3/C Compiler
    WangWenJuan ·Southwest Jiaotong University ·2004 ·Master's thesis
  10. Implementation of the Parser of TTCN-3 by Parser Generator Based on the Windows System
    ZuoJianEn ·Inner Mongolia University ·2004 ·Master's thesis
  11. Research and Application of Formal Language in Report Systems
    GuoJianXing ·Shanghai Normal University ·2004 ·Master's thesis
  12. The Study on Marked-Passive-Sentence in Modern Chinese
    ZhangXingWang ·Inner Mongolia Normal ·2003 ·Master's thesis
  13. The Research and Implementation of Embedded ECMA Interpreter
    ZhangJinBo ·Hohai University ·2006 ·Master's thesis
  14. Micro Database Engine Research
    LiLiXia ·Wuhan University of Technology ·2006 ·Master's thesis
  15. Research on spatial data manipulation language
    CuiJianJun ·Chang'an University ·2005 ·Master's thesis
  16. Research on the Chinese Interface of Speech Based Book Query
  17. Research of VHDL Compiler’s Design Techniques
    QiXingGang ·Sichuan University ·2005 ·Master's thesis
  18. VHDL Compiling System Design Methods and Studies on the Key Techniques
    LiYuan ·Sichuan University ·2005 ·Master's thesis
  19. Protocol Auto-Adapted Communication Technology
  20. Based on the entity 's non-circular curved surface grinding Research and Implementation of Simulation System