-
Notifications
You must be signed in to change notification settings - Fork 388
chore: Pull out aztec macros to their own crate and create an API for them in the compiler frontend #3578
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
Merged
Merged
chore: Pull out aztec macros to their own crate and create an API for them in the compiler frontend #3578
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
6f6217f
create a namespaced API for macros
kevaundray 1212b44
remove aztec specific error variants
kevaundray 8373541
remove aztec feature flag from frontend by allowing arbitrary macro p…
kevaundray f2b128e
fix test
kevaundray 413260c
add aztec_macro crate
kevaundray 8282ffe
remove aztec feature flag and code from noirc_frontend
kevaundray 927a2a3
add aztec feature flag to noirc_driver
kevaundray b2fb79a
modify yml feature flags
kevaundray f3fa65f
clippy fix
kevaundray 7afdc45
use slice of trait objects when there are no macro processors
kevaundray 7df00c7
replace opaque type with trait object in function signature
kevaundray 7c9198f
fmt
kevaundray e6b4b89
temporarily coerce the type system -- a clone here would likely not b…
kevaundray 89b4678
fmt
kevaundray 00136a1
use vec instead of slice and clone the pointers to vtable (references…
kevaundray cf11ad9
fmt
kevaundray a925d8d
remove extraneous & in test
kevaundray 26559c3
remove duplicated code
kevaundray c7dd9b9
Merge branch 'master' into kw/create-api-for-macros
kevaundray 2d35fe8
Merge branch 'master' into kw/create-api-for-macros
kevaundray 97b3582
update cargo.lock
kevaundray File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| [package] | ||
| name = "aztec_macros" | ||
| version.workspace = true | ||
| authors.workspace = true | ||
| edition.workspace = true | ||
| rust-version.workspace = true | ||
| license.workspace = true | ||
| repository.workspace = true | ||
|
|
||
| # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
|
||
| [dependencies] | ||
| noirc_frontend.workspace = true | ||
| iter-extended.workspace = true |
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,6 +26,3 @@ regex = "1.9.1" | |
| [dev-dependencies] | ||
| strum = "0.24" | ||
| strum_macros = "0.24" | ||
|
|
||
| [features] | ||
| aztec = [] | ||
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.