GithubHelp home page GithubHelp logo

namin / inc Goto Github PK

View Code? Open in Web Editor NEW
892.0 38.0 108.0 944 KB

an incremental approach to compiler construction

License: MIT License

Scheme 84.67% C 6.83% Shell 0.09% Makefile 0.70% Dockerfile 0.29% C++ 0.03% Rust 7.38%
scheme x86 c compiler compiler-construction paper-implementations

inc's Introduction

Step-by-step development of a Scheme-to-x86 compiler, based on Abdulaziz Ghuloum's paper, An Incremental Approach to Compiler Construction, and extended draft tutorial, Compilers: Backend to Frontend and Back to Front Again.

The CPS conversion is based on Matt Might's web article, How to compile with continuations.

More on inc

See the src directory.

Docker cheatsheet

  • docker build -t=namin/inc .
  • docker run -i -t namin/inc /bin/bash
  • docker run -it -v $(pwd):/inc-live namin/inc /bin/bash

inc's People

Contributors

jaseemabid avatar mrnugget avatar namin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

inc's Issues

Step by step?

FWIW, I happened on this project just a moment ago and it’s not clear to me what is meant by step-by-step or the current state of the project.

Is the idea that this is what you got from following the various tutorials? I.e. this project is not a tutorial but rather the completion of an exercise.

In that case step-by-step is a little confusing since what’s available now in an end product.

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.