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

106 commits

Author SHA1 Message Date
schaeff
8e64cc68b1 remove call to unimplemented cast 2019-02-11 16:20:47 +01:00
schaeff
b731a7c296 solve conflict 2019-01-28 10:18:27 +01:00
Stefan
6b916e779f
Merge pull request #225 from Zokrates/if-else-array
Add support for IfElse for arrays
2019-01-22 14:54:43 +01:00
Thibaut Schaeffer
3018c1ccbe
Merge branch 'develop' into optimize-subtraction 2019-01-21 14:25:59 +01:00
schaeff
ae7b5c0daa change test to check flattening of 1-sized array is identical to flattening of single value 2019-01-18 19:59:17 +01:00
schaeff
87fccb3457 implement variable access to ifelse array 2019-01-18 19:35:10 +01:00
schaeff
b74e0b6dc6 add support for ifelse array access, clean up semantic treatment 2019-01-18 18:56:56 +01:00
schaeff
e084165adc add multiple errors, add node for all AST, fix tests ignoring positions 2019-01-18 11:49:16 +01:00
Guillaume Ballet
1bc3947e5e Move wasm plugin generation to a different repo 2019-01-14 14:49:47 +01:00
schaeff
9de72fe21e add tests, fix order of outputs in test runner 2019-01-04 15:31:16 +01:00
schaeff
1e03eabacd add ifelse for arrays 2019-01-04 13:55:45 +01:00
Guillaume Ballet
5a9f5c8060 Make field its own crate 2018-12-27 11:02:48 +01:00
schaeff
82a18e99f5 Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into greater_than 2018-12-17 18:19:14 +01:00
schaeff
302d75a501 remove subtraction 2018-12-17 18:19:05 +01:00
schaeff
cfd3b2c3f5 remove intermediate definition in lt check 2018-12-17 17:53:35 +01:00
schaeff
ba478baa81 Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into optimize-subtraction 2018-12-07 16:57:34 +01:00
schaeff
e8bb5fe925 run upgraded fmt 2018-12-04 16:57:39 +01:00
schaeff
024d81bf99 adjust div test 2018-12-03 12:17:09 +01:00
schaeff
7660216672 fmt 2018-12-03 12:01:28 +01:00
schaeff
64e3c5268b add non-zero check for division 2018-12-03 11:59:36 +01:00
Tjaden Hess
acad5d8db8 Fix linting issues 2018-11-29 13:21:41 -05:00
Tjaden Hess
e98139e59c Use temporary variable for unary negation.
TODO: We should not use a temp variable here, but we need #180 to do it properly.
2018-11-29 13:19:42 -05:00
Tjaden Hess
f2821f99f5 Merge branch 'develop' into greater_than 2018-11-28 15:01:01 -05:00
schaeff
afe7579503 optimise flattening of subtraction, crashes at R1CS conv 2018-11-27 20:56:22 +01:00
schaeff
3778f22004 implement div rather than inverse 2018-11-27 13:54:57 +01:00
schaeff
96b7cca101 remove div from flatast, refactor Div flattening to use flat mult 2018-11-27 01:08:57 +01:00
schaeff
5bf7f9cb49 merge develop, format 2018-11-10 12:10:12 +01:00
schaeff
019a4ea388 format with rustfmt 0.99.6, add to circleci 2018-11-10 11:22:27 +01:00
schaeff
f28fb4593b fmt and add fmt to CI 2018-11-08 11:44:17 +01:00
Tjaden Hess
711f60fe7f fix bool_and test 2018-11-07 17:20:05 -05:00
Tjaden Hess
451cfc00cb Merge branch 'develop' into greater_than 2018-11-07 09:46:27 -05:00
Tjaden Hess
a1d0a0aee8 Implement Le, Gt, Ge 2018-11-05 10:46:02 -05:00
Tjaden Hess
f30398b3e2 Implement boolean not 2018-11-02 17:30:58 -04:00
Tjaden Hess
e89a303906 Add compeent about flatten_boolean_expression postconditions 2018-11-02 16:25:44 -04:00
Tjaden Hess
4bd136285d Fix boolean or bugs 2018-10-31 18:39:15 -04:00
Tjaden Hess
0f777ae65d Rename stdlib to corelib 2018-10-31 18:15:23 -04:00
Brian Guo
25c823de34 Merge branch 'boolean_operators' of github.com:CornellBlockchain/ZoKrates into boolean_operators 2018-10-31 17:48:16 -04:00
Brian Guo
df70bffc7a Merge branch 'develop' into boolean_operators 2018-10-31 17:46:24 -04:00
schaeff
c46b9d6265 catch exponent 0 to equal 1 at propagation and flattening 2018-10-31 17:40:27 +01:00
Tjaden Hess
cc29180201 Remove unnecessary variable definitions 2018-10-27 13:43:52 -04:00
Brian Guo
f1966e918d [add] fixed flattening for OR 2018-10-24 20:52:24 -04:00
Brian Guo
182449812f Merge branch 'boolean_operators' into or 2018-10-24 19:08:54 -04:00
schaeff
1610ea4486 clean 2018-10-24 11:38:09 +02:00
schaeff
4d778307f7 Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into packed-sha-libsnark 2018-10-23 10:30:18 +02:00
schaeff
4478162061 add packed sha256 for 2 254 inputs 2018-10-22 19:48:35 +02:00
schaeff
881b0b49c2 fix conflicts 2018-10-19 18:49:40 +02:00
schaeff
d45f5f1632 allow array as return, add dead code elimination, fix array flattening 2018-10-19 18:39:59 +02:00
schaeff
edf054f278 merge substitution removal 2018-10-18 13:14:38 +02:00
schaeff
e8ea590563 replace substitutions with normal hashmaps 2018-10-18 12:52:06 +02:00
schaeff
0f53e5d553 port sha256 to arrays wip 2018-10-16 19:41:20 +02:00