首页> 外文OA文献 >Extending LLVM-based Kaleidoscope compiler
【2h】

Extending LLVM-based Kaleidoscope compiler

机译:扩展基于LLVM的万花筒编译器

摘要

This thesis first describes the concept of a compiler, what it is and what typical compiler consists of. This basic definition has been used to develop a improved compiler for Kaleidoscope programming language. Compiler was developed using LLVM framework. Compiler uses its own front end, back end was developed with use of the LLVM library. The thesis presents the LLVM project, with main focus on the LLVM intermediate representation, which is one of the main most important parts of the developed compiler. It presentes the stages of the developed compiler: lexical analysis (using Flex tool), syntax analysis (using Bison tool), LLVM intermediate representation code generation, where it describes the part of the LLVM code library, which was used in the development. It is described how the generated LLVM intermediate representation code is executed by conversion to an ELF object file. In the last part it is described addition of new while-do and repeat-until loops.udud
机译:本文首先描述了编译器的概念,它的含义以及典型的编译器组成。此基本定义已用于开发万花筒编程语言的改进编译器。编译器是使用LLVM框架开发的。编译器使用自己的前端,后端是使用LLVM库开发的。本文介绍了LLVM项目,主要侧重于LLVM中间表示,这是开发的编译器的主要最重要部分之一。它介绍了已开发的编译器的各个阶段:词法分析(使用Flex工具),语法分析(使用Bison工具),LLVM中间表示代码生成,其中描述了LLVM代码库的一部分,该部分已在开发中使用。描述了如何通过转换为ELF目标文件来执行生成的LLVM中间表示代码。在最后一部分中,描述了新的while-do和repeat-until循环的添加。

著录项

  • 作者

    Jelovšek Samo;

  • 作者单位
  • 年度 2013
  • 总页数
  • 原文格式 PDF
  • 正文语种 {"code":"sl","name":"Slovene","id":39}
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号