Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
2 days later and I'm still failing to get a project to build with the LLVM bindings. The repository seems fairly inactive, and is several versions behind modern LLVM. This seems like a very basic package for a language that is supposed to be well suited to writing compilers. Even flipping Python seemingly has more up to date LLVM bindings.
/u/ltielen's Éclair language targets LLVM and is actively maintained, so I'd look at that implementation's LLVM setup.
It looks like /u/ltielen decided to write his own LLVM library targeting the latest LLVM, so I guess he saw the same issues you are seeing with the llvm-hs bindings and decided to create his own.
Comparing the haskell and cpp implementations of the LLVM tutorial lead me to believe it might be faster to learn haskell and implement the compiler in haskell than to implement it in cpp.