1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
Commit graph

225 commits

Author SHA1 Message Date
schaeff
bea571c836 merge dev 2022-09-06 21:35:51 +02:00
schaeff
f60cd0e7ad fix typos, fix runtime error, minimize diff in propagation 2022-09-01 11:10:28 +02:00
schaeff
3fbf63d335 extract panics just before flattening, simplify zir, remove redundant checks in code generation 2022-08-16 18:53:21 +02:00
schaeff
8caa6b4720 wip 2022-08-05 16:23:18 +02:00
schaeff
8b35413169 bump nightly, fix clippy errors 2022-07-06 15:51:45 +02:00
schaeff
c4971779d8 merge staging 2022-06-28 18:22:36 +02:00
dark64
63c1e22978 merge syntax-revamp 2022-06-21 15:10:33 +02:00
dark64
b7e787dfd1 deprecate multi returns 2022-06-21 15:03:53 +02:00
schaeff
6fd88653ee merge dev 2022-05-31 18:04:30 +02:00
schaeff
6b36e4b23b clippy 2022-05-18 13:33:22 +02:00
schaeff
ed04267a9a complete refactor 2022-05-13 12:34:05 +02:00
dark64
f1c7d76cf5 fix tests 2022-05-11 21:33:57 +02:00
schaeff
7c35389829 start split to crates 2022-05-11 10:00:11 +02:00
dark64
66b273dabc remove if-expressions 2022-04-06 15:41:38 +02:00
dark64
2de6823ae9 merge develop, fix conflicts 2022-02-21 03:02:58 +01:00
schaeff
58ce72fdbb commit propagation 2022-01-11 18:40:42 +01:00
schaeff
5cba32966d more aggressive propagation, add tests 2022-01-11 18:38:51 +01:00
schaeff
fa14e382b0 more aggressive propagation 2022-01-11 17:22:04 +01:00
schaeff
a40cc6eed8 introduce eq expression to reduce duplication 2022-01-11 17:01:08 +01:00
schaeff
e5184a236b implement assignees, add examples 2022-01-10 18:49:05 +01:00
schaeff
3016fd8eef implement tuples 2022-01-07 14:57:24 +01:00
Thibaut Schaeffer
d17d3121c9
Merge pull request #982 from Zokrates/type-alias
Implement type aliasing
2021-11-08 11:08:37 +01:00
schaeff
0d0d9e04a3 merge dev 2021-10-15 13:54:41 +02:00
schaeff
2c7d806064 merge dev 2021-10-15 13:07:07 +03:00
dark64
37940bb067 introduce assertion type 2021-10-13 12:07:28 +02:00
dark64
501c69ec60 Merge branch 'develop' into assertion-messages 2021-10-13 11:02:03 +02:00
schaeff
6798b02a13 merge dev 2021-10-13 01:05:41 +03:00
schaeff
43b2a1d350 move to non breaking nightly, fix conflicts 2021-10-12 16:37:30 +03:00
Thibaut Schaeffer
1f8b15a114
Merge pull request #1029 from Zokrates/upgrade-rust-toolchain
Upgrade rust toolchain
2021-10-12 15:56:43 +03:00
schaeff
ba3752307c Merge branch 'develop' of github.com:Zokrates/ZoKrates into type-alias 2021-10-11 11:17:20 +03:00
Thibaut Schaeffer
65c4ccb316
Merge pull request #997 from Zokrates/strict-field-to-uint
Make field to uint casts truncate values bigger than uint max
2021-10-11 10:17:29 +03:00
schaeff
69cb867a8e fix incorrect propagation 2021-10-05 21:39:18 +03:00
dark64
13c0af63a8 merge develop, fix conflicts 2021-10-05 17:56:47 +02:00
schaeff
2169010cf7 fix clippy 2021-10-05 14:01:50 +03:00
schaeff
6ca342720f simplify expression_at making the return value generic, reverting wrong clippy suggestion 2021-10-05 12:30:53 +03:00
schaeff
3371df28cc fmt clippy 2021-10-04 21:37:23 +03:00
schaeff
b3ddfca69c merge dev, some tests failing 2021-10-04 20:32:33 +03:00
dark64
99fe006268 fix tests 2021-09-29 19:02:56 +02:00
dark64
ef7183cae0 differentiate between if-expression and ternary expression in typed_absy 2021-09-29 18:46:12 +02:00
dark64
018e5bf29e cleanup 2021-09-23 13:26:15 +02:00
schaeff
1ffbc024b2 fix tests 2021-09-21 17:39:13 +03:00
dark64
1dbd753ac7 Add optional message to assert statement 2021-09-20 18:23:24 +02:00
schaeff
6f8b73ab0f fix abi with concretization, fix StructType 2021-09-16 18:36:17 +03:00
dark64
942901c55b make field to uint casting more strict to match runtime behaviour 2021-09-12 19:28:34 +02:00
schaeff
187a1e834b refactor for ordered symbols, clean, propagate constants globally to cover constants in function key 2021-09-10 23:27:19 +02:00
schaeff
8f7cf36eec fold module when id is found for constant calls inliner 2021-09-06 19:25:29 +02:00
schaeff
8169e1839a fix rule by using PartialEq<UExpression> 2021-08-30 18:01:35 +02:00
schaeff
28b2a28ed3 remove U32ToField 2021-08-27 16:05:59 +02:00
schaeff
88197a57d6 refactor to keep constants until reduction, then try to inline their definitions 2021-08-27 15:57:14 +02:00
schaeff
b5f243965d detect mistyped constant during constant inlining 2021-08-18 23:51:00 +02:00