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

165 commits

Author SHA1 Message Date
schaeff
375c7667e9 implement uint division 2020-11-18 19:35:35 +00:00
schaeff
285b9d781a fix all tests 2020-11-09 18:04:28 +00:00
schaeff
898b3eb7e8 wip 2020-11-04 21:50:44 +00:00
schaeff
e8cdbcc318 wip 2020-09-29 09:56:07 +02:00
dark64
287b2b8f47 zexe iter-1 2020-09-23 21:08:31 +02:00
schaeff
58b3c00efe introduce simpler syntax for single return and empty return 2020-08-04 00:27:26 +02:00
schaeff
a983f1e145 fix conflicts 2020-07-16 00:12:39 +02:00
schaeff
9f2fecf7ec update zok to new assert syntax, rewrite NotEq 2020-07-15 22:23:37 +02:00
schaeff
aede64faf3 Merge branch 'develop' of github.com:Zokrates/ZoKrates into u8-playground 2020-07-15 16:48:16 +02:00
schaeff
edb18474e8 update stdlib and core tests 2020-07-13 17:32:05 +02:00
schaeff
23365529aa change precedence rules to follow python 2020-07-09 16:10:01 +02:00
schaeff
ee97e41334 force reduction of UintEq members 2020-07-06 22:49:57 +02:00
schaeff
057d5883aa remove bellman embeds, add u32 to stdlib 2020-07-03 18:10:33 +02:00
JacobEberhardt
e6de36c9c9
Merge pull request #612 from Zokrates/boolean-stdlib
Use booleans when possible in stdlib
2020-06-09 10:54:11 +02:00
schaeff
23eeb9c9bb merge boolean embeds 2020-06-08 20:41:36 +02:00
schaeff
9a2e61aa1f update docs, make tests pass 2020-06-08 18:43:10 +02:00
schaeff
e2b2fd86d6 merge dev 2020-06-05 14:09:53 +02:00
schaeff
cbd573a17c implement all unsigned types 2020-05-29 17:14:52 +02:00
schaeff
c8111c77c2 simplify uint optimizer with with_max helper, change strategy for if_else 2020-05-20 17:45:50 +02:00
schaeff
2c07fee812 remove if else 2020-05-14 20:17:50 +02:00
schaeff
092f74b2f8 start if_else 2020-05-14 19:44:35 +02:00
schaeff
716f9e45ce merge dev 2020-05-07 17:18:22 +02:00
schaeff
84d3eb38e4 implement or 2020-05-05 14:30:24 +02:00
schaeff
c802077b74 add macro to restrict compilation to a given curve 2020-04-22 19:53:10 +02:00
schaeff
ddc4c196bf merge dev 2020-04-21 13:19:18 +02:00
schaeff
d05ee17640 make add readjustment logarithmic 2020-04-21 09:34:24 +02:00
JacobEberhardt
e2599ee2ae
Merge pull request #591 from Zokrates/remove-inference
Require variables to be defined
2020-04-17 12:53:57 +02:00
schaeff
12bfb538e1 cache bits when calling u32 from bits 2020-04-16 20:10:56 +02:00
schaeff
ba54e346f2 update code for new semantics 2020-04-14 16:32:14 +02:00
schaeff
1f97577290 fix test 2020-04-09 11:16:37 +02:00
schaeff
51cfbd11cd rewrite other calls, if else wip 2020-04-06 12:11:35 +02:00
schaeff
76ebc229c2 merge 2020-04-03 15:19:50 +02:00
schaeff
fcdbed507a implement function call memoization 2020-03-02 18:14:05 +01:00
schaeff
91c0b6e8e5 add optional field, use it on one test 2020-03-02 12:00:31 +01:00
schaeff
6d65801b9b fix parser, fmt 2020-03-02 11:42:24 +01:00
schaeff
f8521fd33c make sha256 pass tests and constant propagate to 0 constraints 2020-03-02 10:47:06 +01:00
schaeff
6b988c1dae add add test 2020-02-25 10:44:11 +01:00
schaeff
ca53a928ee add tests, add log 2020-02-24 10:59:11 +01:00
schaeff
fec3e4dbfa merge, stop creating directives for constants 2020-02-18 20:02:40 +01:00
schaeff
4271947452 add tests, make directives accept quad arguments 2020-02-18 17:00:55 +01:00
schaeff
d06a0f05d4 remove extension from imports 2020-02-17 23:32:23 +01:00
schaeff
43075af3d6 switch to paths, add test 2020-02-13 14:04:29 +01:00
schaeff
f0645055eb Merge branch 'develop' of github.com:Zokrates/ZoKrates into variable-loop-bounds 2020-02-11 12:00:13 +01:00
schaeff
7305cf99f0 extend example, add doc 2020-01-21 15:39:24 +01:00
schaeff
b31d15d7e4 fix error message 2020-01-20 16:35:22 +01:00
schaeff
7bd2c200b9 first basic changes 2020-01-09 17:39:10 +01:00
William Entriken
e1c5b6cd42 Merge remote-tracking branch 'refs/remotes/origin/develop' into develop 2020-01-07 20:39:09 -05:00
William Entriken
27e9385a18 Whitespace and spelling fixes 2020-01-06 14:07:40 -05:00
schaeff
c3b00ee75c add test 2019-12-27 17:43:40 +01:00
schaeff
27404c3b94 address review comments, fix helpers to be generic 2019-11-11 19:59:56 +01:00
schaeff
cd7d63de57 make zokrates_test generic 2019-10-24 19:09:55 +02:00
Paul E
9adf95ad97 test now takes boolean inputs 2019-10-17 14:10:16 +02:00
Paul E
1d118b9298 Merge branch 'develop' of https://github.com/Zokrates/ZoKrates into bool_eq 2019-10-16 11:50:11 +02:00
Paul E
4767a00ad6 updated bool_compare and test 2019-10-16 11:50:01 +02:00
Thibaut Schaeffer
8abf996252
Merge pull request #448 from Zokrates/structs
Implement structures
2019-10-07 12:16:44 +09:00
Paul Etscheit
6cd54343bb
Update zokrates_core_test/tests/tests/precedence.zok
Co-Authored-By: Thibaut Schaeffer <schaeffer.thibaut@gmail.com>
2019-10-03 09:31:24 +02:00
Paul E
d725aad2fe add test for bool equality operator 2019-10-02 16:25:40 +02:00
Paul E
809d852df9 add precedence test 2019-10-02 13:50:28 +02:00
Thibaut
0a7139f98e merge dev 2019-09-30 14:08:46 +02:00
Thibaut
3b0b6959e3 change struct declaration syntax 2019-09-28 18:24:29 +02:00
schaeff
ed300a9a28 change file endings 2019-09-24 12:05:43 +02:00
schaeff
79fea57be8 clean, add boolean check to all boolean user input 2019-09-23 18:33:08 +02:00
schaeff
92a9695974 rename bench to tests 2019-09-18 10:47:17 +02:00
schaeff
5d40fa7083 Merge branch 'develop' of github.com:Zokrates/ZoKrates into zokrates-test-crate 2019-09-17 12:12:27 +02:00
schaeff
9521d5822a create zokrates_core_test crate and move zokrates_core tests there 2019-09-17 12:10:59 +02:00