schaeff
|
c49a97c154
|
reverse array declaration dimensions, fix tests
|
2019-09-18 10:35:39 +02:00 |
|
schaeff
|
cd44326941
|
add abi module with json parsing, reducing and type checking
|
2019-09-17 18:12:15 +02:00 |
|
schaeff
|
30b9357e4a
|
Merge branch 'develop' of github.com:Zokrates/ZoKrates into structs
|
2019-09-17 13:40:19 +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 |
|
dark64
|
9a6ddc22ae
|
add g16 wasm supported functions
|
2019-09-13 18:59:46 +02:00 |
|
schaeff
|
885ccb6e96
|
test
|
2019-09-13 15:58:28 +02:00 |
|
schaeff
|
691b3c1d90
|
Merge branch 'develop' of github.com:Zokrates/ZoKrates into simplify-resolver
|
2019-09-13 14:05:01 +02:00 |
|
schaeff
|
3b228385f6
|
add comments
|
2019-09-11 20:03:12 +02:00 |
|
schaeff
|
6ab1a96ca6
|
add assignment to struct members
|
2019-09-11 19:11:39 +02:00 |
|
schaeff
|
494eca0599
|
merge rec-arrays
|
2019-09-10 12:52:03 +02:00 |
|
schaeff
|
c8080e9656
|
small tweaks, simplify and improve propagation
|
2019-09-09 13:37:47 +02:00 |
|
schaeff
|
ca6d92b349
|
implement multidim updates
|
2019-09-09 09:59:49 +02:00 |
|
schaeff
|
05b59393e5
|
remove unreachable parts of flattening, make sure we crash on multidim array update
|
2019-08-29 12:31:54 +02:00 |
|
schaeff
|
7ad2e895a5
|
add unroll test for rec array, extract IfElse and Select from Flatten trait
|
2019-08-29 11:08:22 +02:00 |
|
schaeff
|
52f33f056a
|
implement unimplemented rec array update and boolean ifelse
|
2019-08-29 08:47:07 +02:00 |
|
schaeff
|
a634b1cf80
|
simplify pest ast, add tests for from_ast
|
2019-08-28 18:11:58 +02:00 |
|
schaeff
|
1a57297805
|
fix version number
|
2019-08-28 09:51:12 +02:00 |
|
schaeff
|
db87a48540
|
update lazy static and remove allow(deprecated)
|
2019-08-28 09:49:58 +02:00 |
|
schaeff
|
fd69f75e4a
|
remove commented out impl
|
2019-08-27 16:28:24 +02:00 |
|
schaeff
|
08bc0dbf76
|
remove try
|
2019-08-27 16:13:47 +02:00 |
|
schaeff
|
b139c9aa93
|
merge rec-arrays, introduce annotate method for structs
|
2019-08-27 16:03:28 +02:00 |
|
schaeff
|
b901055077
|
introduce annotate function to restrict access to Array fields
|
2019-08-27 14:50:19 +02:00 |
|
schaeff
|
acbb0d63a8
|
implement spreads for any type
|
2019-08-26 15:05:51 +02:00 |
|
schaeff
|
5a2860c4d2
|
merge dev
|
2019-08-26 14:18:45 +02:00 |
|
schaeff
|
1eb51a4adc
|
reduce spreads of inline arrays during semantic checking
|
2019-08-26 13:17:29 +02:00 |
|
Stefan
|
2c679a8cb7
|
Merge pull request #357 from Zokrates/modules-v2
Refactor AST for zero-cost modules
|
2019-08-22 23:36:31 +02:00 |
|
schaeff
|
73759c29c4
|
fix comment
|
2019-08-21 11:35:22 +02:00 |
|
schaeff
|
c5d9d84792
|
fix deprecated try
|
2019-08-21 10:55:43 +02:00 |
|
schaeff
|
549e159492
|
patch lt output
|
2019-08-21 10:35:30 +02:00 |
|
schaeff
|
1412ef2ef1
|
address review comments
|
2019-08-20 12:38:32 +02:00 |
|
schaeff
|
a3f9eafb73
|
merge dev
|
2019-08-19 13:45:49 +02:00 |
|
schaeff
|
83577051d6
|
replace try with ?
|
2019-08-19 09:11:43 +02:00 |
|
schaeff
|
1f21b85389
|
add test for unifier
|
2019-08-11 16:15:05 +02:00 |
|
schaeff
|
da57329b2b
|
implement symbol unifier to handle symbol naming rules for functions and types
|
2019-08-10 23:21:28 +02:00 |
|
schaeff
|
70529ef3e6
|
add more tests for structs, move return value checking out of statement check to function check
|
2019-08-09 14:09:47 +02:00 |
|
schaeff
|
cd79fa42e2
|
add tests for declaration
|
2019-08-08 19:55:18 +02:00 |
|
schaeff
|
d45922c8f5
|
fix format
|
2019-08-08 02:17:51 +02:00 |
|
schaeff
|
dcc13af656
|
try non preveiw fmt, fix test
|
2019-08-08 02:15:20 +02:00 |
|
schaeff
|
8601d6599f
|
fix all tests, remove all warnings
|
2019-08-08 00:37:44 +02:00 |
|
schaeff
|
9dfcdd3f9a
|
implement inline struct
|
2019-08-07 18:50:43 +02:00 |
|
schaeff
|
0673381bce
|
implement flattening
|
2019-08-07 16:25:09 +02:00 |
|
schaeff
|
bb0973de1e
|
add error handling, wrap types in nodes for sourcemaps, move type to absy and typed_absy
|
2019-08-06 00:12:47 +02:00 |
|
schaeff
|
ff21034f07
|
introduce targetted imports
|
2019-08-02 19:58:44 +02:00 |
|
schaeff
|
edab5c20f8
|
fix mut
|
2019-08-02 18:46:44 +02:00 |
|
schaeff
|
266320f7d9
|
wip
|
2019-08-02 12:49:43 +02:00 |
|
schaeff
|
c84c0c5ca7
|
implement semantics and flattening for simple cases
|
2019-07-31 17:02:37 +02:00 |
|
schaeff
|
316cdc416c
|
bump versions
|
2019-07-29 12:56:23 +02:00 |
|
schaeff
|
e81214edef
|
implement member access in from_ast
|
2019-07-26 22:19:45 +02:00 |
|
schaeff
|
b475c5baa6
|
add conversion in from_flat. wip
|
2019-07-26 19:27:52 +02:00 |
|
schaeff
|
6eb0efe1ce
|
add member access to untyped absy
|
2019-07-26 19:15:44 +02:00 |
|
schaeff
|
0bd41abf2a
|
add struct definition to untyped ast
|
2019-07-26 19:09:54 +02:00 |
|
schaeff
|
f35abd559c
|
add member access to parser
|
2019-07-26 18:30:01 +02:00 |
|
schaeff
|
210428a59c
|
update v2 contracts
|
2019-07-26 12:26:11 +02:00 |
|
schaeff
|
1960515165
|
add range check on public inputs in solidity verifiers
|
2019-07-26 11:48:04 +02:00 |
|
schaeff
|
e0eaa6b35b
|
make imports public
|
2019-07-25 18:39:35 +02:00 |
|
schaeff
|
4db956d7ea
|
make resolve string based only, remove automatic alias for now
|
2019-07-25 18:36:57 +02:00 |
|
schaeff
|
3d5971b1dc
|
use type aliases in resolvers, make location mandatory
|
2019-07-24 18:37:11 +02:00 |
|
schaeff
|
28d97959a1
|
remove all bufreaders, replace with string
|
2019-07-23 17:50:49 +02:00 |
|
schaeff
|
2e17229eaf
|
add tests
|
2019-07-16 17:22:10 +02:00 |
|
schaeff
|
22619be774
|
Merge branch 'generalize-arrays' of github.com:Zokrates/ZoKrates into rec-arrays
|
2019-07-16 16:40:56 +02:00 |
|
schaeff
|
3fc34086ea
|
fix equality for wasm solvers
|
2019-07-16 15:48:47 +02:00 |
|
schaeff
|
b2fcb4c271
|
fully recursive arrays
|
2019-07-16 15:31:25 +02:00 |
|
schaeff
|
34f41dc53f
|
merge modules
|
2019-07-15 16:31:52 +02:00 |
|
schaeff
|
24fe46301f
|
remove other changes
|
2019-07-15 11:48:52 +02:00 |
|
schaeff
|
c312d3423d
|
use crate
|
2019-07-15 11:46:03 +02:00 |
|
schaeff
|
e89d60be04
|
make if_else generic
|
2019-07-11 15:54:51 +02:00 |
|
schaeff
|
6e6d90f638
|
make flatten_array_expr generic over inner type
|
2019-07-11 13:03:33 +02:00 |
|
schaeff
|
2cd3943207
|
remove unimplemented
|
2019-07-11 00:50:14 +02:00 |
|
schaeff
|
f6bae357fd
|
remove unused
|
2019-07-11 00:04:42 +02:00 |
|
schaeff
|
574f1f1c7d
|
fix bound
|
2019-07-10 23:44:29 +02:00 |
|
schaeff
|
84b35cef20
|
deduplicate code using Flatten trait
|
2019-07-10 23:23:35 +02:00 |
|
schaeff
|
0f74b4990b
|
Merge branch 'develop' of github.com:Zokrates/ZoKrates into generalize-arrays
|
2019-07-10 19:37:10 +02:00 |
|
schaeff
|
f5373acd57
|
merge dev
|
2019-07-10 19:33:33 +02:00 |
|
JacobEberhardt
|
f425e0ae37
|
Merge branch 'develop' into exponentiation
|
2019-07-10 11:24:12 +02:00 |
|
schaeff
|
36d1e3ebac
|
fix tests
|
2019-07-10 09:43:32 +02:00 |
|
schaeff
|
05d8ae9b99
|
fix tests
|
2019-07-10 09:35:14 +02:00 |
|
schaeff
|
a83a68ec53
|
document, remove imports in typed_absy, revert example
|
2019-07-10 00:07:20 +02:00 |
|
schaeff
|
e2e644364e
|
merge dev
|
2019-07-09 23:29:32 +02:00 |
|
schaeff
|
4dde51a828
|
fix wasmi version
|
2019-07-09 17:45:10 +02:00 |
|
schaeff
|
c182a9a81c
|
reove warning in backend
|
2019-07-09 17:15:48 +02:00 |
|
schaeff
|
662d856f7f
|
improve flatten doc, remove deprecated warning
|
2019-07-09 17:11:30 +02:00 |
|
schaeff
|
72616f8c5c
|
clean and comment semantics checker
|
2019-07-09 16:52:51 +02:00 |
|
JacobEberhardt
|
f753f99a76
|
Removed static check, that base of exponentiation is identifier or constant. Can be any expression now.
|
2019-07-09 13:44:15 +02:00 |
|
JacobEberhardt
|
df1ef5947a
|
Merge pull request #399 from Zokrates/add-boolean-constants
Add boolean constants
|
2019-07-06 00:52:36 +02:00 |
|
schaeff
|
4abfc12efb
|
address comments
|
2019-07-06 00:28:58 +02:00 |
|
Thibaut Schaeffer
|
8e7867907a
|
Merge pull request #400 from Zokrates/add-boolean-propagation
Add boolean constant propagation
|
2019-07-05 23:52:09 +02:00 |
|
Thibaut Schaeffer
|
4a053c91a6
|
Merge pull request #411 from Zokrates/double-and-add-exponentiation
Exponentiation by squaring
|
2019-07-05 23:48:47 +02:00 |
|
Thibaut Schaeffer
|
18d7efcde2
|
Merge branch 'develop' into app_testing
|
2019-07-05 23:35:58 +02:00 |
|
schaeff
|
87588f39c3
|
fix core test
|
2019-07-05 22:58:38 +02:00 |
|
schaeff
|
fc7bcd320e
|
fix semantic tests
|
2019-07-05 22:04:12 +02:00 |
|
schaeff
|
b7376173b3
|
improve cli flag for abi
|
2019-07-05 12:07:22 +02:00 |
|
Paul Etscheit
|
7fd7b1766a
|
Update pghr13.rs
Changes argument from reference to to variable
|
2019-07-05 11:29:52 +02:00 |
|
Paul Etscheit
|
40751ec5e6
|
Update gm17.rs
Changes argument from reference to variable
|
2019-07-05 11:28:04 +02:00 |
|
schaeff
|
64e785bde6
|
remove undefined vars, remove ref to stack var
|
2019-07-05 11:10:26 +02:00 |
|
schaeff
|
ac46518c96
|
integrate ethereum deployment with integration tests, remove duplicated code in js script
|
2019-07-04 18:11:02 +02:00 |
|
schaeff
|
0ee24f90b2
|
fix git issue
|
2019-07-04 15:38:42 +02:00 |
|
schaeff
|
6bf9b46eaf
|
merge dev, github resolver unimplemented
|
2019-07-03 20:34:29 +02:00 |
|
schaeff
|
54fed2176f
|
reanable inliner
|
2019-07-03 16:34:48 +02:00 |
|
schaeff
|
6672ffb56a
|
document and fix tests in inliner
|
2019-07-03 16:33:46 +02:00 |
|