Font Size: a A A

Design Andl Implementation Of Script Language Backend Tool Based On LLVM

Posted on:2017-02-05Degree:MasterType:Thesis
Country:ChinaCandidate:T Y ZhaoFull Text:PDF
GTID:2348330512957981Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In the process of large software system development, it usually need to consider and assessment in many respects, such as develop tools, programming language, code eficiency, architecture, robust, maintainability, etc. In particular, time costed by development process will related to the profit directly in commercial software project.Software designers usually need to divided into such as multiple modules, logic levels for the whole system arrificially. Then design and develop parallelly by different teams following the same rules, and intergrate into a complete system finally.It can not only accelerate the process of design and developping in this way, but also find the problem existing in the current system as soon as possible. But at the same time inevitably, with the increasing of the parallelism of the entire software system development, the demand of the number of designer and developper of this system is increasing. And outsourcing will increase the risk of the project: the source code is lack of safety, and the original source or interface also has the same problem.The purpose of this paper is to through the disscusing of LLVM IR discource translation for a particular script language to provide a method to translate code between two kinds of language by using LLVM frastructure, and finally commit a solution for carrying on the semantic equivalence between any two kinds language.This topic has did stuff below:1.research on the features of some script languages;2.deep research on LLVM frastructure, disscus the feasibility by using IR;3.design the architecture and modules for LIRT, sign the functions and responsibility for each module;4.detail design and implementation for module;5.tests, experiments and analysis for lirt.By using this way to convert from IR to script, it can write with single programming language first, and then translate the target code into script form be invoked which is outputed by lirt.In this way, it could be greatly improve the eficiency of the code, and greatly reducing the time wasted on learning script language, greatly decrease the difficulty of debugging, greatly accelerate the process of developping.
Keywords/Search Tags:LLVM, Intermediate Representation, Script Language, Compiler Backend
PDF Full Text Request
Related items