Git Product home page Git Product logo

cit's Introduction

cit

a C-like compiling system including compiler, assembler and linker on x86 and ARM architecture

分支与代码说明

该分支实现了基于x86体系结构的编译器、汇编器和链接器,编译器处理的文法比较简单,属于书中编译器代码的早期版本。汇编器和链接器的代码与书中代码基本一致。

该分支实现了基于arm体系结构的优化编译器,编译器文法较为复杂,与书中代码基本一致。

作者的话

据读者反馈书中代码与github上源码不一致的问题,特此对代码分支做出说明。

  • 本书描述的描述的编译系统有两个实现版本:基于x86体系结构的编译系统与基于arm体系结构的优化编译器。成书过程中,由于个人精力有限等因素,仅在书中对代码做了简单的归并和整理,如果给大家带来了误解,我在此表示深深的歉意。
  • 基于arm的实现版本为第二次实现编译器的版本,文法较为丰富,且实现了优化器的内容,因此本书编译器和优化器章节多数引用了该分支的代码。而该分支并未重新实现汇编器和链接器,因此书中描述的汇编器与链接器的代码则来源于x86分支。
  • 简单地说,随书的源码其实是github上arm和x86分支代码的混合但未实现的版本,如果您对编译器的实现感兴趣,并希望和我一起将随书代码的“第三个”版本的代码实现的话,欢迎您的到来。

cit's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.