Is it viable to develop a compiler in haskell that uses LLVM

This page summarizes the projects mentioned and recommended in the original post on /r/haskell

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. llvm-hs

    Haskell bindings for LLVM

    The llvm-hs GitHub has branches for LLVM 12 and even LLVM 15. I believe the LLVM 12 version works pretty well, but I am not sure of the LLVM 15 version.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. kaleidoscope

    We currently have all of the kaleidoscope chapters working for LLVM 12 using llvm-hs, you can check the code here: https://github.com/andrescollares/kaleidoscope, the project is not tidy at all yet but you can get it up and running quickly given that the environment is containerized.

  4. llvm-codegen

    LLVM code generation in Haskell

    I used my own llvm-codegen library (https://github.com/luc-tielen/llvm-codegen) for this, it supports up to llvm14 but planning to upgrade to the latest as soon as I finish the docs for the eclair website. :)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Monthly Hask Anything January 2021

    1 project | /r/haskell | 21 Jan 2021
  • Framework for lifting x86, amd64, aarch64, sparc32, and sparc64 to LLVM bitcode

    1 project | news.ycombinator.com | 14 May 2024
  • Revng translates (i386, x86-64, MIPS, ARM, AArch64, s390x) binaries to LLVM IR

    7 projects | news.ycombinator.com | 12 Jan 2024
  • The Onyx Programming Language

    2 projects | news.ycombinator.com | 8 Dec 2023
  • Should I abandon using haskell for my compiler?

    5 projects | /r/haskell | 20 Apr 2023

Did you know that Haskell is
the 25th most popular programming language
based on number of references?