Giter Club home page Giter Club logo

cpc's Introduction

cpc

  • 2021.7.1 突发奇想 “建党 100 周年!写一个名为 CPC 的 C 编译器,为党庆生!”

实现说明

思路来自于著名的 C4,一个 500 行的可自举的 C 编译器.
我这个行数目测要超过 1000 行,anyway,just for fun.

最终,我只用了 700 行!GOODJOB!代码清晰易读,哈哈
可以认为本项目是一个可读版的C4,基本没有原创成分

原理解析

原理解析已分章节做成视频上传 B 站了,标题为「700行手写编译器」

cpc's People

Contributors

archeryue avatar

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.