Replies: 1 comment 1 reply
-
LLVMSharp is simply bindings over the official LLVM-C library provided by LLVM themselves. LLVM-C is not as feature complete or comprehensive as the main LLVM API and while the vast majority of important features are there, there are bits "missing". ClangSharp makes up for this by providing libClangSharp to fill in the gaps. I have plans on providing a similar
It's currently v16.0.0 while the latest official version of LLVM is v18.0.0 and was released last month. It doesn't take much to update since the bindings are just directly generated, I just haven't had time to update as indicated above. LLVM ships a new major version every 6 months or so and that generally includes binary breaking changes, so many devs opt to not stay on the bleeding edge. |
Beta Was this translation helpful? Give feedback.
-
I'm planning a compiler project and LLVM has come up as the most sensible approach to creating the back end. I want to build the entire system in C#. The front end is not a problem, Antlr4 generates C# parsers so that's good but I don't know much at all about LLVM or if there's anything important missing from LLVMSharp that could cause a problem.
Also is this up to date, does it reflect a reasonably recent version of the actual LLVM API?
Beta Was this translation helpful? Give feedback.
All reactions