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
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
- The Design and Implementation of LL(1) Action Grammar Compiler’s Automatic Constructor in Java Language
- The Construction of Complier for SQL--Basing on Linux Operating System
- Using Lexical and Semantic Analysis for Ontology Integration
- Dynamic Structure of Modern Chinese
- Formal specification language LFC implementations and applied research
- Source Code Assessment System Research and Development
- Visual Implementation of Operational Semantics of Procedural Programming Languages
- The Design and Implementation of the DSQL Based on the Domain Data Model
- Research and Design of TTCN-3/C Compiler
- Implementation of the Parser of TTCN-3 by Parser Generator Based on the Windows System
- Research and Application of Formal Language in Report Systems
- The Study on Marked-Passive-Sentence in Modern Chinese
- The Research and Implementation of Embedded ECMA Interpreter
- Micro Database Engine Research
- Research on spatial data manipulation language
- Research on the Chinese Interface of Speech Based Book Query
- Research of VHDL Compiler’s Design Techniques
- VHDL Compiling System Design Methods and Studies on the Key Techniques
- Protocol Auto-Adapted Communication Technology
- Based on the entity 's non-circular curved surface grinding Research and Implementation of Simulation System