llvm-tutor
mcc
Our great sponsors
llvm-tutor | mcc | |
---|---|---|
1 | 1 | |
2,716 | 112 | |
- | - | |
6.4 | 0.0 | |
2 days ago | almost 3 years ago | |
C++ | Haskell | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
llvm-tutor
-
What's your salary?
If you want a quick example of something you can do for educational purposes (but would be totally worthless for reality) I'd say go to llvm and implement your own instcombine pass. Follow this tutorial to learn the basics.
mcc
-
Implementing a LLVM Micro C compiler in Haskell
Joseph Morag is the author, not me. The project is hosted on github. https://github.com/jmorag/mcc
What are some alternatives?
remill - Library for lifting machine code to LLVM bitcode
libfsm - DFA regular expression library & friends
clang-tutor - A collection of out-of-tree Clang plugins for teaching and learning
lisp-to-js - Compiling Lisp to JavaScript
alive2 - Automatic verification of LLVM optimizations
languages-compilers-and-interpreters
mcsema - Framework for lifting x86, amd64, aarch64, sparc32, and sparc64 program binaries to LLVM bitcode
binaryen - Optimizer and compiler/toolchain library for WebAssembly
mewa - Compiler-compiler for writing compiler frontends with Lua
verilator - Verilator open-source SystemVerilog simulator and lint system
buildit - Online demo without installing at - https://buildit.so/tryit
expr-ir - An Expression Tree to LLVM-IR Example.