pcf VS haste-compiler

Compare pcf vs haste-compiler and see what are their differences.

pcf

A small compiler for PCF (by jozefg)

haste-compiler

A GHC-based Haskell to JavaScript compiler (by valderman)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
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
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of pcf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-04.
  • Implementing a LLVM Micro C compiler in Haskell
    2 projects | news.ycombinator.com | 4 Jun 2021
    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

Posts with mentions or reviews of haste-compiler. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-08.

What are some alternatives?

When comparing pcf and haste-compiler you can also consider the following projects:

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