All Projects → namin → Inc

namin / Inc

Licence: mit
an incremental approach to compiler construction

Programming Languages

c
50402 projects - #5 most used programming language
scheme
763 projects

Projects that are alternatives of or similar to Inc

Fcc
Fedjmike's C Compiler
Stars: ✭ 101 (-85.61%)
Mutual labels:  compiler, x86
Smallerc
Simple C compiler
Stars: ✭ 986 (+40.46%)
Mutual labels:  compiler, x86
I8086.js
16bit Intel 8086 / 80186 + X87 emulator written in TypeScript with REPL assembly compiler and tiny C compiler
Stars: ✭ 54 (-92.31%)
Mutual labels:  compiler, x86
Xdpw
XD Pascal: A small embeddable self-hosting Pascal compiler for Windows. Supports Go-style methods and interfaces
Stars: ✭ 199 (-71.65%)
Mutual labels:  compiler, x86
Asmjit
Machine code generation for C++
Stars: ✭ 2,874 (+309.4%)
Mutual labels:  compiler, x86
Mini C
Dr Strangehack, or: how to write a self-hosting C compiler in 10 hours
Stars: ✭ 372 (-47.01%)
Mutual labels:  compiler, x86
Lbforth
Self-hosting metacompiled Forth, bootstrapping from a few lines of C; targets Linux, Windows, ARM, RISC-V, 68000, PDP-11, asm.js.
Stars: ✭ 293 (-58.26%)
Mutual labels:  compiler, x86
Flingos
An educational operating system written in C#. A great stepping stone from high to low level development.
Stars: ✭ 451 (-35.75%)
Mutual labels:  compiler, x86
Cyclone
🌀 A brand-new compiler that allows practical application development using R7RS Scheme. We provide modern features and a stable system capable of generating fast native binaries.
Stars: ✭ 634 (-9.69%)
Mutual labels:  compiler
Rustc codegen cranelift
Cranelift based backend for rustc
Stars: ✭ 675 (-3.85%)
Mutual labels:  compiler
Lebab
Turn your ES5 code into readable ES6. Lebab does the opposite of what Babel does.
Stars: ✭ 5,479 (+680.48%)
Mutual labels:  compiler
Remill
Library for lifting of x86, amd64, and aarch64 machine code to LLVM bitcode
Stars: ✭ 633 (-9.83%)
Mutual labels:  x86
Wirefilter
An execution engine for Wireshark-like filters
Stars: ✭ 677 (-3.56%)
Mutual labels:  compiler
Fastexpressioncompiler
Fast ExpressionTree compiler to delegate
Stars: ✭ 631 (-10.11%)
Mutual labels:  compiler
Tiramisu
A polyhedral compiler for expressing fast and portable data parallel algorithms
Stars: ✭ 685 (-2.42%)
Mutual labels:  compiler
Janino
Janino is a super-small, super-fast Java™ compiler.
Stars: ✭ 627 (-10.68%)
Mutual labels:  compiler
Minic Hosting
A simple stack-based virtual machine that runs C in the browser.
Stars: ✭ 628 (-10.54%)
Mutual labels:  compiler
Jscl
A Lisp-to-Javascript compiler bootstrapped from Common Lisp
Stars: ✭ 688 (-1.99%)
Mutual labels:  compiler
Mlton
The MLton repository
Stars: ✭ 683 (-2.71%)
Mutual labels:  compiler
Gocaml
🐫 Practical statically typed functional programming language implementation with Go and LLVM
Stars: ✭ 653 (-6.98%)
Mutual labels:  compiler

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].