Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/namin/inc
- Owner: namin
- License: mit
- Created: 2011-12-14T23:32:01.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2019-10-09T01:46:33.000Z (about 5 years ago)
- Last Synced: 2024-10-11T21:46:51.928Z (25 days ago)
- Topics: c, compiler, compiler-construction, paper-implementations, scheme, x86
- Language: Scheme
- Homepage:
- Size: 922 KB
- Stars: 913
- Watchers: 38
- Forks: 111
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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`