pcf
pi-forall
Our great sponsors
pcf | pi-forall | |
---|---|---|
1 | 1 | |
121 | 538 | |
- | - | |
0.0 | 7.5 | |
over 3 years ago | 9 months ago | |
Haskell | 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.
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.
pi-forall
What are some alternatives?
core-compiler - compile your own functional language
idris - A Dependently Typed Functional Programming Language
ajhc - A fork of jhc. And also a Haskell compiler.
hyper-haskell-server - The strongly hyped Haskell interpreter.
binaryen - DEPRECATED in favor of ghc wasm backend, see https://www.tweag.io/blog/2022-11-22-wasm-backend-merged-in-ghc
uu-cco - Tools for the CCO (Compiler Construction) course at the UU (Utrecht University)
dhall - Maintainable configuration files
kaleidoscope - Haskell LLVM JIT Compiler Tutorial
flp - Spatial layout specifications for memory management systems.
haste-compiler - A GHC-based Haskell to JavaScript compiler
record-preprocessor - Compiler preprocessor introducing a syntactic extension for anonymous records