On 2021-05-05 12:01, user1234 wrote:

Is it possible to use libclang and more generally LLVM c++ api [directly in D](https://dlang.org/spec/cpp_interface.html) or the Cpp interface is too limited ?
Was this an option, have you tried ?

Yes, it's possible to use libclang. DStep [1] is using that and it fully written in D. Although DStep cannot create bindings for C++ yet so I cannot guarantee that using only libclang will work for C++ code.

[1] https://github.com/jacob-carlborg/dstep

--
/Jacob Carlborg
  • (Oh My) Gentool 0.3.0 ... evilrat via Digitalmars-d-announce
    • Re: (Oh My) Gento... user1234 via Digitalmars-d-announce
      • Re: (Oh My) G... Dominikus Dittes Scherkl via Digitalmars-d-announce
        • Re: (Oh M... evilrat via Digitalmars-d-announce
          • Re: (... user1234 via Digitalmars-d-announce
            • ... Dominikus Dittes Scherkl via Digitalmars-d-announce
            • ... Jacob Carlborg via Digitalmars-d-announce
              • ... evilrat via Digitalmars-d-announce
      • Re: (Oh My) G... Jacob Carlborg via Digitalmars-d-announce
        • Re: (Oh M... Gavin Ray via Digitalmars-d-announce
          • Re: (... evilrat via Digitalmars-d-announce
            • ... Gavin Ray via Digitalmars-d-announce

Reply via email to