I’m not entirely happy with this tutorial, which seems to be the only official source of documentation on how to use LLVM in practice. I’m working on a toy programming language implementation myself, and I’d like to have it compile to LLVM, but I found it a little difficult to apply the lessons learned from this tutorial to languages (like my toy one) that work even a little bit differently than Kaleidoscope.
Haskell version:
I’m not entirely happy with this tutorial, which seems to be the only official source of documentation on how to use LLVM in practice. I’m working on a toy programming language implementation myself, and I’d like to have it compile to LLVM, but I found it a little difficult to apply the lessons learned from this tutorial to languages (like my toy one) that work even a little bit differently than Kaleidoscope.
I don’t think this is good
Why?