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

Provide C API #491

Open
rawhuul opened this issue Oct 2, 2023 · 2 comments
Open

Provide C API #491

rawhuul opened this issue Oct 2, 2023 · 2 comments

Comments

@rawhuul
Copy link

rawhuul commented Oct 2, 2023

It would be wonderful to have C-API to syntect library similar to treesitter. This will open up a gate to lot more users to use this library.

@Enselic
Copy link
Collaborator

Enselic commented Dec 29, 2023

My preference would be do expose a C API of syntect in a third-party crate. Effectively a C facade in front of the Rust API that is maintained elsewhere.

(I will close this issue as "won't fix" at a later point unless other maintainers express a desire to maintain a C API of syntect.)

@rawhuul
Copy link
Author

rawhuul commented Dec 29, 2023

Okay, I will dig deep into the library and try to make a C wrapper of it in free time

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