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

Question: C# Bindings #944

Open
Alex-Gamper opened this issue Jun 12, 2022 · 4 comments
Open

Question: C# Bindings #944

Alex-Gamper opened this issue Jun 12, 2022 · 4 comments

Comments

@Alex-Gamper
Copy link

Hi Adacore

Do you have any views on a C# binding to libadalang, I appreciate it would be very Microsoft.Windows specific !
things to consider would be

  1. Generation (or lack of) for platforms other than Windows
  2. C# to C/C++ interop , I was thinking of piggybacking of the already available C/C++ Api
  3. Datatype marshaling, This seems to be OK

I've probably missed a few points

Alex

@DanJBower
Copy link

I'd definitely also be interested in a C# wrapper for the API, but I don't see why it'd necessarily need to be Windows specific as .NET Standard 2.0 works on the majority of platforms if it could be written to target that

@DanJBower
Copy link

Was this meant to be closed in that change?

@raph-amiard
Copy link
Member

No it wasn't, sorry about that!

@raph-amiard raph-amiard reopened this Mar 29, 2023
@raph-amiard
Copy link
Member

To answer the issue: It's not something we consider doing and maintaining ourselves outside of a support contract. However it should be "relatively" easy to do from the outside, taking inspiration from existing bindings like Python, C#, and now Java/Graal bindings.

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

3 participants