-
Notifications
You must be signed in to change notification settings - Fork 36
Separation between Felt, Bool, and Uint types #423
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
Open
Soulthym
wants to merge
44
commits into
0xMiden:next
Choose a base branch
from
massalabs:feat-numeric-types
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 28 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
7f30ca7
Merge branch 'feat-typing' into feat-numeric-types
Soulthym 474de8a
docs(typing): add a NOTE for BinType::infer_bin_ty_sub, for issue #432
Soulthym 1255bc9
chores(typing): make format
Soulthym 9f17e24
fix(typing): adapt to old parser/ast/types api
Soulthym 926d666
feat(typing): impl Typing for Span<T: Typing>
Soulthym 74af2b2
feat(typing): allow forwarding of idents in sty! macro
Soulthym 5a8af93
refactor(typing): default impl for Kind for Kind::Value Types
Soulthym bdec887
feat(typing): impl Typing for Vec<T>
Soulthym cc98758
feat(typing): Aggregate Kind variant + rework Show + impl Typing for …
Soulthym 41a3ff4
refactor(typing): rename int to uint
Soulthym 4891f5a
feat(typing): add an optional span to the TypeError enum
Soulthym 3ad4b90
fix(typing): properly rename Int to UInt
Soulthym 3402d8f
feat(typing): impl Display for TypeError
Soulthym 60fb953
refactor(typing): integrate into codebase
Soulthym e7fadd4
chores: cargo clippy + fmt
Soulthym ee8b4a7
fix(typing): fix access::Default on TraceBinding
Soulthym 6fee06e
fix(typing): fix TraceSegment::kind()
Soulthym 68b28ab
feat(typing): update subtyping rules: make `?` and `_` top types
Soulthym 80e5609
fix(typing): fix trace_type macro when len == 1
Soulthym 99d9403
Revert "fix(typing): fix access::Default on TraceBinding"
Soulthym 72c2eba
chores(typing): make lint
Soulthym 4f3e939
fix(mir): fix type-mismatch check on ListComprehension in translate
Soulthym c60f25f
feat(mir): better error reporting for translate on bin exprs + ? case
Soulthym 636c77a
fix(parser): fix BindingType.ty() + .kind() + sema's call handling
Soulthym 5e0cf1c
fix(typing): re-infer BinExpr bin_ty after updating its arguments
Soulthym a37b3d3
fix(typing): sema: report diagnostic on non-constant exponents
Soulthym b2c75b6
feat(typing): assert_bool primitive
Soulthym c8cfad3
fix(mir/translate): fix inserted enf expr
Soulthym 9419d39
refactor(typing): rename typing crate to air_types
Soulthym 16195e1
Merge remote-tracking branch 'upstream/next' into feat-numeric-types-…
Soulthym 3210f36
feat(types): FunctionType::check_args_kinds
Soulthym 1ceaadc
feat: implement typing for MIR nodes
Leo-Besancon 46f8065
refactor: rename none::None to stale::Stale
Leo-Besancon f68eb25
fix: us correct op for infer_bin_ty_*
Leo-Besancon 7efee31
refactor(types): change *_mut api + support for RefCell, Ref, and RefMut
Soulthym e21c2d2
refactor(types): update ast, expose Typ* traits through Link
Soulthym 3eaf4d5
Merge branch 'feat-numeric-types-update-leo' into feat-numeric-types-…
Soulthym d57ae6e
feat(types): implement typing for the whole pipeline
Soulthym fe751bb
fix(types): fix Trace* Typing impl
Soulthym 3c18d05
fix(types): various bug fixes
Soulthym 49339d6
fix(types): more bug fixes, remove unused debugging
Soulthym 7d49a85
fix(types): fix Evaluator argument types
Soulthym 4020b8a
feat(mir): Cast primitive + translate assert_bool
Soulthym bd2df16
refactor(types): rename assert_bool -> as_bool
Soulthym 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,6 +8,7 @@ members = [ | |
| "air", | ||
| "codegen/winterfell", | ||
| "codegen/ace", | ||
| "typing", | ||
| ] | ||
| resolver = "2" | ||
|
|
||
|
|
||
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.