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

93 commits

Author SHA1 Message Date
dark64
ea98c92879 make return statement optional 2022-08-29 15:17:15 +02:00
dark64
1448742642 add changelog 2022-08-22 13:56:07 +02:00
dark64
6ab602e88c fail if log call contains an int expression 2022-08-22 13:01:59 +02:00
schaeff
950ac08b0e apply suggestions 2022-07-05 13:40:43 +02:00
schaeff
3b07c156ad use function syntax for log, reserve log, add test 2022-07-04 17:19:07 +02:00
dark64
e75552b0eb merge staging 2022-06-28 19:23:45 +02:00
dark64
94a3ce511d add failing test 2022-06-28 11:23:57 +02:00
dark64
0736c4b976 fix tests 2022-06-27 14:24:09 +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
241447a09c implement and update zok files 2022-06-13 20:17:40 +02:00
dark64
68dac762db spaces > tabs 2022-06-01 00:04:40 +02:00
dark64
dc29b70957 revert removal of if-else expression 2022-05-31 23:52:09 +02:00
dark64
16f2b4c3ac change syntax in cli/examples 2022-04-06 20:23:58 +02:00
schaeff
9d95e08e30 merge dev 2021-12-07 19:17:55 +01:00
Darko Macesic
71872294b7
Merge pull request #1037 from Zokrates/remove-return-1
Remove confusing returns
2021-11-09 17:34:03 +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
30a04734b5 use iterators where possible, switch to cbor 2021-10-29 13:51:43 +02:00
schaeff
5ff16b25f8 change gettingstarted example to assert 2021-10-18 16:54:38 +02: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
740b7ee935 merge dev, add tests 2021-10-14 21:44:21 +02: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
dark64
13c0af63a8 merge develop, fix conflicts 2021-10-05 17:56:47 +02:00
schaeff
b3ddfca69c merge dev, some tests failing 2021-10-04 20:32:33 +03:00
Thibaut Schaeffer
5f2d65124b
Merge pull request #975 from Zokrates/allow-calls-in-constants
Allow calls in constants
2021-10-01 18:01:52 +03:00
dark64
3ad8938897 add failing test for unpack 2021-09-27 20:51:30 +02:00
schaeff
ca55c984e3 address review comments 2021-09-24 17:54:16 +03:00
schaeff
4b99a99815 remove explicit generics where applicable 2021-09-23 14:45:45 +03:00
schaeff
77a3888600 fix example 2021-09-21 13:07:26 +03:00
schaeff
43f4934586 detect out of bounds reads and writes 2021-09-21 13:00:36 +03:00
dark64
3975437fe4 improve tests 2021-09-16 15:54:03 +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
Thibaut Schaeffer
db25d3f159
Merge pull request #977 from Zokrates/handle-unconstrained-vars
Graceful handling of unconstrained variable detection
2021-09-06 16:47:23 +02:00
Thibaut Schaeffer
cf9ca9bf72
Merge pull request #957 from Zokrates/zir-propagation
Apply propagation in ZIR
2021-08-27 15:59:17 +02:00
schaeff
88197a57d6 refactor to keep constants until reduction, then try to inline their definitions 2021-08-27 15:57:14 +02:00
dark64
3235cf4df9 fix div by zero test 2021-08-23 21:23:44 +02:00
dark64
b01c477a55 merge develop, fix conflicts 2021-08-23 15:54:53 +02:00
dark64
b7a035025d add test for unconstrained input 2021-08-23 15:51:56 +02:00
schaeff
ce158ca5dc add breaking test when propagation is not powerful enough 2021-08-23 13:10:23 +02:00
dark64
db33856ed5 fix test 2021-08-23 00:56:45 +02:00
schaeff
c71b31d1af refactor constants to keep track of them across modules 2021-08-21 00:08:12 +02:00
schaeff
b5f243965d detect mistyped constant during constant inlining 2021-08-18 23:51:00 +02:00
dark64
f7f6a8421a merge develop, fix conflict 2021-08-17 18:46:56 +02:00
dark64
6ea4cfbe84 div by zero 2021-08-17 18:44:25 +02:00
dark64
934d36078e use result folder in zir propagation 2021-08-17 18:31:52 +02:00
schaeff
81c537769c merge deve, fix conflicts 2021-08-09 14:06:34 +02:00
schaeff
249187a157 merge dev, fix conflicts, fix comment in test 2021-08-09 11:43:03 +02:00