clang
clang copied to clipboard
Support for newer version of clang
Hello,
Background: I'm currently working on a (python) project which is using a different parser but we are considering moving to the one provided by LLVM. (For the time being we are developing in Windows.)
I think I'm missing something but I'm not sure what so I have a few questions:
- To my understating the python bindings are still only "officially" provided for Linux systems right?
- This python package supports up to LLVM version 6.0.0?
- Do you know if there are "unofficial" python bindings for newer versions?
Thank you!
Hi! Sorry for the very late reply, I have unfortunately not had time for working on this package recently (which I hope to change by Tuesday). I am thinking I will split things up and release separate packages for each major LLVM/Clang version. I need to spend the time to migrate to that model, but as I said, I will start working on that Tuesday.
Hello! In the meantime I did some research, found the python bindings in the Clang repo and have been using those. Although, to my understanding they have many features missing when compared to the C++ API. Thank you for your reply!
Ah, yes that is always possible. The Python bindings are based on the C API, which the clang developers try to keep stable (thus new features aren't added as quickly).
Were there any updates? A lot of distributions already provide 8.0.0+ release, and 9.0.0 soon will be shipped too?
I'm not aware of any updates. As I said before, I ended up using the python bindings in the Clang repo, which worked well enough for what I was trying to accomplish.
Problem is that ctypeslib2 doesn't seem to work with the python bindings, also they are often not being packaged in distributions.