On 14.07.2017 10:33, Christian Lenz wrote:
No I’m not working on it, but the LLVM or Emscripten is already doing it.
Yes, the tool Emscripten, not Clang/LLVM itself.
It was only a question to have a feautre/Action to generate JS Code from the 
C++ Code via the Clang/LLVM/Emscripten toolkit, right inside NetBeans.
I think such plugin is easy to write already now, because only external tools are involved. So, if someone is interested - welcome to provide such plugin.

Vladimir.

Gesendet von Mail für Windows 10

Von: Vladimir Voskresensky
Gesendet: Donnerstag, 13. Juli 2017 21:11
An: [email protected]
Betreff: Re: AW: NetBeans and C++

Hello Chris,

On 12.07.2017 17:08, Christian Lenz wrote:
Hey Vladimir,

thx for the info. I was on the NewAndNoteworthy page, but I didn’t see any 
C++17 stuff. Thats why I’m asking.
Because we can not claim we support it :-)
I scrolled through the slides so will it be possible in NetBeans 9 to have some 
Features from Clang like convert C++ Code to JavaScript?
No. Btw, I'm not aware of such Clang functionality.
   Via an Action or smth like that? And to print the AST from the C Code?
AST can be printed for C/C++ and ObjectiveC/ObjectiveC++. Someone can
add such plugin.
   I think this is possible, because of the CLI params that you have to handle 
over to the Clang Compiler, which is installed.
We don't require Clang compiler to be installed on user system.
Clang is not only compiler, it's also great framework/library to create
tools which requires C/C++/ObjC knowledge.
Clank (with the last K) is the Java-port of Clang libraries.
Ported one component after another. Clank is not the compiler-functional
tool yet.
But it has Driver, Lexer, AST, Parser, Static Analyzer and some other
libraries ready which makes Clank functional reach already now.
If not, I will create a ticket for this later, because that would be very Handy 
to have it right inside NetBeans to create JS Code from C++. And it will help 
with WebAssembly even more.
May be I misunderstand you, but are you saying you are going to write
C++ to JS converter for NetBeans?

Thanks,
Vladimir.

Regards

Chris

Von: Vladimir Voskresensky
Gesendet: Mittwoch, 12. Juli 2017 12:13
An: [email protected]
Betreff: Re: NetBeans and C++

Hello Chris,

Sorry for the late reply, I was on vacation.

On 06.07.2017 15:06, Christian Lenz wrote:
I know NetBeans is ready for C/C++ and I think for C++11, but what is with 
C++14 and C++17. Atm I don’t use it, but I saw a blog post about: 
https://blogs.msdn.microsoft.com/visualstudio/2017/07/05/7-reasons-to-move-your-cpp-code-to-visual-studio-2017/

So I’m wondering, whether NetBeans can handle it too, or not (C++14 and C++17)
NetBeans can handle C++ up to C++14.
It supports C++17 at some extent.
(And for a long time it support Remote development)

We are working on Clank now (It is the Java-port of  Clang/LLVM) for
NetBeans 9.
https://www.youtube.com/watch?v=EpFJlARXO74

NB9 will support dbx debugger, clang-format and experimental integration
of static analyzer functionality (which supports c++17 as well, because
is based on Clank).
http://wiki.netbeans.org/NewAndNoteworthyNB9#C.2FC.2B.2B

Hope it helps,
Vladimir.
Regards

Chris





Reply via email to