sunroof-compiler
pcf
sunroof-compiler | pcf | |
---|---|---|
- | 1 | |
73 | 122 | |
- | - | |
0.0 | 0.0 | |
about 8 years ago | over 3 years ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | MIT 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.
sunroof-compiler
We haven't tracked posts mentioning sunroof-compiler yet.
Tracking mentions began in Dec 2020.
pcf
-
Implementing a LLVM Micro C compiler in Haskell
This is amazing. I tried following Stephen Diehl's JIT compiler in LLVM tutorial[0] a few years ago but it was already outdated (the llvm-hs library changed quite a bit), and subsequent web searches didn't turn up much.
For those interested in tutorials like this, I'd also recommend a very literate Haskell compiler for the PCF language to C[1], which is essentially lambda calculus with some primitives.
[0] https://www.stephendiehl.com/llvm/
[1] https://github.com/jozefg/pcf/
What are some alternatives?
hyper-haskell-server - The strongly hyped Haskell interpreter.
core-compiler - compile your own functional language
sunroof-examples
ajhc - A fork of jhc. And also a Haskell compiler.
dhall - Maintainable configuration files
binaryen - DEPRECATED in favor of ghc wasm backend, see https://www.tweag.io/blog/2022-11-22-wasm-backend-merged-in-ghc
dcpu16 - DCPU-16 processor emulator
sjsp
uu-cco - Tools for the CCO (Compiler Construction) course at the UU (Utrecht University)
epic - Epic - a Supercombinator Compiler
haste-compiler - A GHC-based Haskell to JavaScript compiler