-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support Kotlin native #3
Comments
Btw - do you have any plans to move CPG to Kotlin Native? If yes, it would be awesome - when you will start accepting PRs, I would be glad to help, because it can solve a bunch of problems related to C++ parsing. And also - what are the plans for CPG to migrate to tree-sitter frontends? Do you plan it? |
That was/is one of the visionary goals I had in mind once maybe Kotlin native is also is more mature. Removing CDT is one of the big chunks standing in the way. A lot (almost all) of the Java Codebase is already converted to Kotlin. We are still using a lot of Java libraries though.
We originally planned it for the C/C++ frontend but this is currently on hold as it turns out it is more complicated than we originally thought and we are lacking the resources to do it. |
import (
) parser := sitter.NewParser() |
Go |
The project is already set-up as a multi module so it should be easy to have another module for Kotlin native and use the tree-sitter C API directly instead of JNA. Possibly, we need to extract some common interfaces between both.
The text was updated successfully, but these errors were encountered: