Hi all,

I've just started looking at CND. From the README.cnd:

----
From NetBeans 8.2 binary, copy file:
* cnd/modules/org-netbeans-modules-cnd-antlr.jar => cnd/libs.antlr.cnd/external
----

The "org-netbeans-modules-cnd-antlr" module [1] has not been donated, and the proposed alternative is to make a dependency with the 8.2 binary.

I don't feel very comfortable adding a binary dependency (i.e., making parts of CND depend on a binary which is not on our control, and whose source can be gone with the wind), but on the other hand rebuilding the module seems to be quite a big task.

Possible plans I can think of:

a) We add a dependency to this 8.2 binary and try to rebuild the org-netbeans-modules-cnd-antlr module on the long term. This is unlikely to happen, I think.
b) We rebuild the org-netbeans-modules-cnd-antlr on our own.
c) We refuse to maintain C/C++ parsers up-to-date and, now that we have a LSP client, we integrate with clangd [3] and move the responsibility of parsing C/C++/Objective-C/Fortran? out to the clang-llvm team.
d) Any other reasonable alternative you can think of.

I'm still trying to understand the importance of this module (any help appreciated). It seems this has some tooling to run antlr (see [2]) and many AST related classes.

Will post here my findings.

Kind regards,
Antonio



[1]
http://hg.netbeans.org/cnd-main/file/tip/cnd.antlr/src/org/netbeans/modules/cnd/antlr

[2]
http://hg.netbeans.org/cnd-main/file/tip/cnd.antlr/src/org/netbeans/modules/cnd/antlr/build

[3]
https://clangd.llvm.org/

El 26/7/20 a las 20:26, Brad Walker escribió:
Just an FYI, but Antonio has been giving some effort recently. And that is
a welcome addition!

-brad w.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to