Add support to resolve bindings to built-in functions, types and variables#1101
Merged
OmarTawfik merged 39 commits intoNomicFoundation:mainfrom Oct 22, 2024
Merged
Add support to resolve bindings to built-in functions, types and variables#1101OmarTawfik merged 39 commits intoNomicFoundation:mainfrom
OmarTawfik merged 39 commits intoNomicFoundation:mainfrom
Conversation
|
... and to silence clippy :)
33 tasks
OmarTawfik
reviewed
Oct 2, 2024
crates/codegen/language/definition/src/compiler/analysis/mod.rs
Outdated
Show resolved
Hide resolved
OmarTawfik
reviewed
Oct 2, 2024
OmarTawfik
reviewed
Oct 2, 2024
OmarTawfik
reviewed
Oct 2, 2024
OmarTawfik
reviewed
Oct 2, 2024
crates/solidity/testing/snapshots/bindings_output/modifiers/simple/generated/0.5.0-success.txt
Outdated
Show resolved
Hide resolved
OmarTawfik
reviewed
Oct 2, 2024
crates/solidity/testing/snapshots/bindings_output/modifiers/simple/generated/0.5.0-success.txt
Outdated
Show resolved
Hide resolved
OmarTawfik
reviewed
Oct 2, 2024
...s/solidity/testing/snapshots/bindings_output/modifiers/with_args/generated/0.5.0-success.txt
Outdated
Show resolved
Hide resolved
OmarTawfik
reviewed
Oct 3, 2024
crates/solidity/outputs/cargo/slang_solidity/src/generated/bindings/generated/built_ins.rs
Outdated
Show resolved
Hide resolved
OmarTawfik
reviewed
Oct 3, 2024
crates/solidity/outputs/cargo/slang_solidity/src/generated/bindings/generated/built_ins.rs
Outdated
Show resolved
Hide resolved
OmarTawfik
reviewed
Oct 3, 2024
OmarTawfik
reviewed
Oct 10, 2024
OmarTawfik
reviewed
Oct 10, 2024
...s/solidity/testing/snapshots/bindings_output/built_ins/functions/generated/0.8.4-success.txt
Show resolved
Hide resolved
OmarTawfik
reviewed
Oct 10, 2024
… strings Strings for the `PathResolver` represent user paths, which is the only context in which import path resolution makes sense.
OmarTawfik
reviewed
Oct 17, 2024
Contributor
OmarTawfik
left a comment
There was a problem hiding this comment.
Resolved the rest of the threads. Thanks!
OmarTawfik
reviewed
Oct 22, 2024
OmarTawfik
reviewed
Oct 22, 2024
OmarTawfik
reviewed
Oct 22, 2024
OmarTawfik
approved these changes
Oct 22, 2024
OmarTawfik
added a commit
to OmarTawfik-forks/slang
that referenced
this pull request
Nov 14, 2024
minor improvement to the codegen backend based on earlier discussions in NomicFoundation#1101
OmarTawfik
added a commit
to OmarTawfik-forks/slang
that referenced
this pull request
Nov 14, 2024
minor improvement to the codegen backend based on earlier changes in NomicFoundation#1101 and NomicFoundation#1120 - build npm packages in parallel - rename `BuiltInLabel` to `PredefinedLabel` to disambiguate from the newly introduced built-ins in bindings. - Fix a bug where breaking versions in built-ins were not considered in other parts of codegen. - rename `wasm32-wasi` to `wasm32-wasip1`, as it is already deprecated in nightly.
Merged
OmarTawfik
added a commit
to OmarTawfik-forks/slang
that referenced
this pull request
Nov 15, 2024
minor improvement to the codegen backend based on earlier changes in NomicFoundation#1101 and NomicFoundation#1120 - build npm packages in parallel - rename `BuiltInLabel` to `PredefinedLabel` to disambiguate from the newly introduced built-ins in bindings. - Fix a bug where breaking versions in built-ins were not considered in other parts of codegen. - rename `wasm32-wasi` to `wasm32-wasip1`, as it is already deprecated in nightly.
OmarTawfik
added a commit
to OmarTawfik-forks/slang
that referenced
this pull request
Nov 15, 2024
minor improvement to the codegen backend based on earlier changes in NomicFoundation#1101 and NomicFoundation#1120 - build npm packages in parallel - rename `BuiltInLabel` to `PredefinedLabel` to disambiguate from the newly introduced built-ins in bindings. - rename `wasm32-wasi` to `wasm32-wasip1`, as it is already deprecated in nightly.
OmarTawfik
added a commit
to OmarTawfik-forks/slang
that referenced
this pull request
Nov 22, 2024
minor improvement to the codegen backend based on earlier changes in NomicFoundation#1101 and NomicFoundation#1120 - build npm packages in parallel - rename `BuiltInLabel` to `PredefinedLabel` to disambiguate from the newly introduced built-ins in bindings. - rename `wasm32-wasi` to `wasm32-wasip1`, as it is already deprecated in nightly.
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 22, 2024
minor improvements to the codegen backend based on earlier changes in #1101 and #1120 - build npm packages in parallel - rename `BuiltInLabel` to `PredefinedLabel` to disambiguate from the newly introduced built-ins in bindings. - rename `wasm32-wasi` to `wasm32-wasip1`, as it is already deprecated in nightly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the infrastructure to the Bindings implementation to be able to:
Bindingsobject for a specific language versionSo far, this contains just a few built-ins to test the infrastructure and verify that all functions, types and variables can be resolved.