Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux build fails with static libclang #10

Open
Superbelko opened this issue May 5, 2021 · 2 comments
Open

Linux build fails with static libclang #10

Superbelko opened this issue May 5, 2021 · 2 comments

Comments

@Superbelko
Copy link
Owner

Ubuntu 20.04, libclang v12.0
Lots of unresolved externals, seems like recent changes in build scripts broken the linker flags.
Dynamic libs from apt works fine though.

@kassane
Copy link

kassane commented Dec 12, 2023

Shouldn't it be more convenient here just to use clang ast-dump instead of libclang?

@Superbelko
Copy link
Owner Author

What problem this will solve? Drop the clang dependency? Ok, imagine if I drop it, what's next?
Does the JSON do a semantic analysis on it?
Does is it analyze macro and convert them to semantically valid expressions and declarations?
Can it take the D code and convert it back to C++?

It may sound appealing to drop the dependency and just use the parsed output however in the end semantic analysis has to be re-implemented in place of clang.

Additionally when I started this project I had in mind bidirectional conversion and more interactivity, e.g. something like LSP or python scripting.

However since I have other things to do that I truly need and the lack of interest from community this project is now mostly stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants