-
Notifications
You must be signed in to change notification settings - Fork 59
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
Support native stdlib #201
Merged
Merged
Changes from 18 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
fbfa222
fix: avoid re-instantiate functions/methods
katat 4eaed5b
fix: monomorphized expr shouldn't override existing nodes
katat 10432c3
fmt
katat 0221102
support unsafe/hint attributes
katat 5353d42
fmt
katat 253f4b5
fix: always check the resolved qualified name
katat 64f1758
incorporate native stdlib for testing
katat be66e55
add int module
katat 6f26d5b
add comparator stdlib
katat b283046
native bits stdlib
katat 00d230b
move init_stdlib_dep to stdlib
katat 1d2cba7
add bits stdlib
katat 9b94dfb
remove bits builtin
katat 64c2352
download stdlib
katat 3c0b022
add comparator methods for uint8
katat f54a53c
fmt
katat 5c8918e
remove unused import
katat 18825a3
Fix: Allow struct fields to propagate constants (#204)
katat ca35175
add uint16/32/64
katat 55f441a
update tests
katat 2b47a8d
fix: remove bit_len from uints
katat 8ef0993
simplify to_bits
katat 1f8826a
add const var STDLIB_DIRECTORY
katat 8834fff
move native stdlib to their own folder
katat a822a1b
fmt
katat 3f91646
Add u16/32/64 (#206)
katat c2c78c9
remove deadcode
katat 328ffbf
point to zksecurity repo
katat 7befb6b
Merge remote-tracking branch 'origin/main' into feat/init-stdlib
katat 42a520a
remove deadcode
katat be8127d
doc bits
katat 665ef2e
use main branch as the release branch for downloading
katat ab75d85
clean up
katat 34cf5c4
ci: init stdlib from the latest code in pr
katat 4cfb0c5
add docs to stdlib
katat eb1def1
Support multiplexer (#207)
katat 83e3491
Add MIMC stdlib (#208)
katat 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 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 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 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is that a temporary solution :D
one thing we could do is have a github workflow to remove everything but the lib and push that on a
stdlib
branch or something. This way we can justgit clone
this repo with only the latest commit on that branch. wdyt?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otherwise it feels a bit wasteful to import all of noname?
ALTHOUGH, it would be cool if, when people click on "go to definition" we could also point to the source code of noname
so it might be an upside to have the whole noname code pulled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's create a release branch for now? so we can decide which version of main branch to be merged into the release branch for auto-download