pcf
haste-compiler
Our great sponsors
pcf | haste-compiler | |
---|---|---|
1 | 4 | |
121 | 1,446 | |
- | - | |
0.0 | 0.0 | |
over 3 years ago | about 5 years 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.
[0] https://www.stephendiehl.com/llvm/
[1] https://github.com/jozefg/pcf/
haste-compiler
-
Resurrection/modernization of an old Haskell+Haste project (boardgame Yinsh)
Back then, I was using Haste to compile Haskell to JavaScript for the frontend part. But now I fail to properly restore the environment to make the hastec call work. Also, I'm not sure if Haste is still actively maintained.
-
Looking for small finished games developed in Haskell
My ludum-dare 34 entry does have scrolling, and some images which are only visible in some screens but not others. I didn't do any effort to load and unload them as required though, I just keep everything loaded at all times. One potential difficulty is that this game uses Haste to compile Haskell to JavaScript, soI don't know if your framework supports that.
-
Reactive Clojure: You don't need a web framework, you need a web language
Very cool Dustin. Reminds me (a little) of some work that the Haskell Haste folks were doing to blur the front/backend via the compiler. Interested to see what you learn along the way refactoring hyperfiddle.
- A GHC-based Haskell to JavaScript compiler
What are some alternatives?
core-compiler - compile your own functional language
dhall - Maintainable configuration files
ajhc - A fork of jhc. And also a Haskell compiler.
CPL - An interpreter of Hagino's Categorical Programming Language (CPL).
binaryen - DEPRECATED in favor of ghc wasm backend, see https://www.tweag.io/blog/2022-11-22-wasm-backend-merged-in-ghc
Elm - Compiler for Elm, a functional language for reliable webapps.
uu-cco - Tools for the CCO (Compiler Construction) course at the UU (Utrecht University)
sjsp
fst - Haskell package for construction and running of finite state transducers.
kaleidoscope - Haskell LLVM JIT Compiler Tutorial
wasm - Haskell WebAssembly Toolkit