1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
Commit graph

1256 commits

Author SHA1 Message Date
Thibaut Schaeffer
b4f02e7db5
Merge pull request #799 from Zokrates/refactor-constant-shift-checks
Fail gracefully on variable shifts
2021-04-19 20:51:44 +02:00
Thibaut Schaeffer
0d20f6a107
Merge pull request #822 from Zokrates/stricter_function_match
Consider input count and generics count in semantic checker
2021-04-19 20:50:38 +02:00
Thibaut Schaeffer
f041822ad7
Merge pull request #823 from Zokrates/fail-on-assertion
Detect assertion failures at compile time on constant expressions
2021-04-19 20:50:01 +02:00
schaeff
30e489553c clippy, changelog 2021-04-19 18:56:48 +02:00
dark64
41a1b5f661 use string instead of cloning 2021-04-19 11:32:11 +02:00
Thibaut Schaeffer
eb9326d047
Merge pull request #809 from Zokrates/multi-import
Allow importing of multiple symbols in a single import statement
2021-04-16 12:29:14 +02:00
dark64
f2faa0a781 error out on failed assertion 2021-04-15 19:15:06 +02:00
dark64
f96dbd6254 renaming 2021-04-15 18:13:27 +02:00
schaeff
a3b22737d8 consider input count and generics count in semantic checker, add tests 2021-04-15 16:43:11 +02:00
schaeff
4c73b7cc70 actually fix the libsnark compile error 2021-04-13 15:56:22 +02:00
dark64
61833d70c4 import multiple symbols in a single from-import statement 2021-04-12 18:49:58 +02:00
schaeff
f290de2b58 bump version, generate changelog 2021-04-09 15:09:34 +02:00
schaeff
e193546d8d check shifts are constant earlier, simplify zir 2021-04-07 18:56:55 +02:00
Thibaut Schaeffer
80ff39d428
Merge pull request #772 from Zokrates/u64-playground
Adding u64 support, keccak and sha3 hashes
2021-04-07 15:49:32 +02:00
dark64
e6cfec4276 add uint arithmetic tests 2021-04-06 19:23:43 +02:00
dark64
6b5424a7ed merge develop, add u64 embeds 2021-04-02 17:39:27 +02:00
schaeff
56650c9e2e merge dev, please clippy 2021-04-01 18:32:40 +02:00
schaeff
06746bad88 fix conflicts 2021-04-01 18:16:31 +02:00
schaeff
193afb0bcd fix inference 2021-04-01 17:49:17 +02:00
schaeff
2403bdd5c9 merge dev, fix 2021-04-01 17:41:53 +02:00
schaeff
9d13b4129d merge dev, implement inference for neg and pos, fix conclicts 2021-04-01 17:34:05 +02:00
schaeff
b14c25965e fix test 2021-04-01 16:29:44 +02:00
schaeff
af0f1f0987 merge dev, fix conflicts, add changelog 2021-04-01 16:14:48 +02:00
schaeff
38b6fc76a4 merge dev and fix conflicts 2021-04-01 12:52:05 +02:00
schaeff
0ed25a5127 fix conflicts 2021-04-01 11:01:36 +02:00
schaeff
4ce88671bf Merge branch 'compile-time-uint' of github.com:Zokrates/ZoKrates into enforce-clippy 2021-03-31 20:45:55 +02:00
schaeff
d29fd34542 change shift crash to unimplemented 2021-03-31 18:39:26 +02:00
schaeff
0a984b2f91 fmt 2021-03-31 17:36:40 +02:00
schaeff
a8240ccf56 Merge branch 'compile-time-uint' of github.com:Zokrates/ZoKrates into compile-time-uint 2021-03-31 17:33:56 +02:00
schaeff
02d6146f74 clone return types in case of double return 2021-03-31 17:33:42 +02:00
schaeff
e7eaf9a913 fmt 2021-03-31 12:39:38 +02:00
schaeff
b552a8d997 Merge branch 'compile-time-uint' of github.com:Zokrates/ZoKrates into enforce-clippy 2021-03-31 12:37:44 +02:00
Thibaut Schaeffer
4ab795e839
Update zokrates_core/src/ir/expression.rs
Co-authored-by: JacobEberhardt <jacob.eberhardt@tu-berlin.de>
2021-03-31 12:36:08 +02:00
schaeff
0e455f0b9e remove clippy statement 2021-03-31 12:21:51 +02:00
schaeff
985961001f Merge branch 'compile-time-uint' of github.com:Zokrates/ZoKrates into enforce-clippy 2021-03-31 12:10:45 +02:00
schaeff
bb561ba247 fix conflict 2021-03-31 11:32:16 +02:00
schaeff
186a4f6511 merge dev 2021-03-31 11:25:24 +02:00
schaeff
fa6aefee08 fmt 2021-03-31 11:23:41 +02:00
Thibaut Schaeffer
1b14c93e58
Apply suggestions from code review 2021-03-31 10:58:32 +02:00
schaeff
13be74de8d Merge branch 'develop' of github.com:Zokrates/ZoKrates into neg-pos 2021-03-30 17:36:31 +02:00
schaeff
e4f7a0422f add tests, make uint optimizer complete§ 2021-03-30 00:07:57 +02:00
dark64
a95ab1d628 use mask based on bitwidth instead of u32 max constant 2021-03-29 15:12:20 +02:00
dark64
e91691962f add keccak and sha3 to stdlib 2021-03-29 13:12:49 +02:00
schaeff
240645df74 Merge branch 'develop' of github.com:Zokrates/ZoKrates into u32-shift-arg 2021-03-25 20:45:08 +01:00
schaeff
8d4984d808 change shift left operands to u32, simplify semantic checked using better matching 2021-03-25 20:31:40 +01:00
schaeff
6162bd095c update ark to crates.io 2021-03-25 18:12:48 +01:00
schaeff
259dd94796 merge dev 2021-03-25 15:36:02 +01:00
dark64
95e699ae39 add u64 type 2021-03-23 16:36:08 +01:00
schaeff
641bffa928 clean 2021-03-23 12:41:55 +01:00
schaeff
6f4501ba8a implement python precedence in the parser, use derives in ast generation 2021-03-23 12:24:35 +01:00