Daniel J. Harvey - Compiling a functional language to LLVM, part 1
Recently I thought it would be good to start compiling the small functional
language mimsa I’ve been messing
around with for the last few years to LLVM. There’s a few really helpful
resources - Joseph Morag’s Micro-C
series, and Mapping High Level Concepts to LLVM
IR in
particular, but neither go into converting functional programming paradigms
such as pattern matching, lambdas and ADTs in much depth.
So, here we’re going to give it a go. The plan is that we start with an
entirely working but ti...
Read more at danieljharvey.github.io