The goal of this project is to write the smallest possible llvm front end in haskell to get started. This does not include a lexer or parser, just emits a short code fragment and calls into putchar() to output two characters.
https://www.hcesperer.org/posts/2017-07-28-writing-a-small-llvm-compiler-frontend-in-haskell.html