-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Consider making libsolc a public API and ship shared libraries on Linux/macOS releases #5306
Comments
I'm all in for this idea, as it might potentially help tooling integration, such as in IDEs for code completion (at some point in time). |
After 0.5.0 there should be no blocker from the API side. It is quite clean now. |
Are we building this lib anywhere in a form that's suitable for release? If it's already possible to get it, it would just be a matter of @chriseth uploading it to the release page along with the rest of binaries (which currently come from Travis as far as I know). Then I'd just have to add a new dir in Otherwise we might want to use github actions to building it from the start (@ekpyron would probably be interested). |
So far we don't build such a library anywhere (the build system doesn't even support doing so) - but we could indeed think about changing that. If we did that, I'd actually consider splitting the command line interface and libsolc entirely (making the CLI a thin executable linking against libsolc and interacting with it via its exported API and standard-json), even though that'd be some more work. |
We are already building the libsolc library in the build system: soljson, the emscripten target, is exactly that :) |
Yeah, of course, I meant except that one :-). |
In any case: the current CLI in |
Before we invest time in this: What would be a user of that library? Wouldn't it be better to implement a language server instead? |
A user of this library would be consumers that want to FFI to it, e.g. for building high performance tooling in other languages. See here for why one would want native bindings. |
This issue has been marked as stale due to inactivity for the last 90 days. |
Hi everyone! This issue has been automatically closed due to inactivity. |
This was discussed in #2255 earlier. #2864 cleaned up the public API.
The text was updated successfully, but these errors were encountered: