Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/namin/inc

an incremental approach to compiler construction
https://github.com/namin/inc

c compiler compiler-construction paper-implementations scheme x86

Last synced: 4 days ago
JSON representation

an incremental approach to compiler construction

Awesome Lists containing this project

README

        

Step-by-step development of a Scheme-to-x86 compiler, based on
Abdulaziz Ghuloum's [paper][1], _An Incremental Approach to Compiler
Construction_, and extended draft [tutorial][2], _Compilers: Backend to
Frontend and Back to Front Again_.

The CPS conversion is based on Matt Might's [web article][3], _How to
compile with continuations_.

[1]: https://github.com/namin/inc/blob/master/docs/paper.pdf?raw=true
[2]: https://github.com/namin/inc/blob/master/docs/tutorial.pdf?raw=true
[3]: http://matt.might.net/articles/cps-conversion/

## More on `inc`

See the [src](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`