On Monday, 10 May 2021 at 07:11:26 UTC, evilrat wrote:
Can't say I hate that idea, but it has same issues as SWIG,
writing any non trivial rule becomes next to impossible as
there is practically zero examples and very poor documentation,
the whole process becomes trial and error marathon
On Sunday, 9 May 2021 at 19:35:52 UTC, Gavin Ray wrote:
**However, I had an idea which I haven't seen tried yet, and
have been prototyping:**
- Using `cppyy` in Python (which uses `cling`) for runtime
bindings to C++ and ability to write raw C++ code in Python
strings and JIT compile it.
-
On Friday, 7 May 2021 at 18:15:47 UTC, Jacob Carlborg wrote:
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
On Friday, 7 May 2021 at 18:17:36 UTC, Jacob Carlborg wrote:
On 2021-05-05 13:54, user1234 wrote:
Thanks for the explanations. BTW I had the same question for
LDC backend being c++, I guess the answer would be similar.
If I understand correctly, the Zig compiler is implemented
partially in
On 2021-05-05 13:54, user1234 wrote:
Thanks for the explanations. BTW I had the same question for LDC backend
being c++, I guess the answer would be similar.
If I understand correctly, the Zig compiler is implemented partially in
Zig. It use the LLVM C API and some wrappers C around the C++
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
On Wednesday, 5 May 2021 at 11:54:51 UTC, user1234 wrote:
On Wednesday, 5 May 2021 at 10:01:13 UTC, user1234 wrote:
Maybe some time in future, but for now there is a lot more
priority stuff to do before even attempting this.
Thanks for the explanations. BTW I had the same question for
LDC
On Wednesday, 5 May 2021 at 11:51:27 UTC, evilrat wrote:
On Wednesday, 5 May 2021 at 10:35:23 UTC, Dominikus Dittes
Scherkl wrote:
On Wednesday, 5 May 2021 at 10:01:13 UTC, user1234 wrote:
...
To answer both:
clang has lots of templates, sometimes not so trivial ones, its
code base filled
On Wednesday, 5 May 2021 at 10:35:23 UTC, Dominikus Dittes
Scherkl wrote:
On Wednesday, 5 May 2021 at 10:01:13 UTC, user1234 wrote:
I have a technical question about the tool itself. It is
mostly written in cpp.
Oh dear!
Isn't it possible to use it to translate itself into D?
To answer
On Wednesday, 5 May 2021 at 10:01:13 UTC, user1234 wrote:
I have a technical question about the tool itself. It is mostly
written in cpp.
Oh dear!
Isn't it possible to use it to translate itself into D?
On Wednesday, 5 May 2021 at 06:50:29 UTC, evilrat wrote:
(Oh My) Gentool - Yet another C/C++ binding generator.
It is a tool to convert C/C++ code to D usable form. It takes
JSON config, basically all C++ compiler flags and switches, and
outputs extern(C++) declarations, (hopefully) in usable
(Oh My) Gentool - Yet another C/C++ binding generator.
It is a tool to convert C/C++ code to D usable form. It takes
JSON config, basically all C++ compiler flags and switches, and
outputs extern(C++) declarations, (hopefully) in usable form D!
It can already process (dear) imgui library
12 matches
Mail list logo