[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Hi,
as often this depends on your use case, e.g. what c++ version you
want to parse, if you want to utilize the index etc.
Using the cdt parser in general works very well (with and without
the index).
An alternative would be to use the clangd language server, which
has an extension[1] to query the AST.
Best regards,
Dominic
[1] https://clangd.llvm.org/extensions#ast
On 10/6/23 13:31, Philip Schroeder via
cdt-dev wrote:
Good luck and best regards
Philip.
Hi all,
I am currently working on a project
where I need to parse C, C++, and Assembly code to
extract the executable lines, excluding commented
lines. To achieve this, I have started experimenting
with the ASTParser, Is there a better approach to
this?
Regards,
Promodkumar
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev
Attachment:
smime.p7s
Description: S/MIME cryptographic signature