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

75 commits

Author SHA1 Message Date
dark64
e5fd35ac26 wip 2021-07-08 15:14:18 +02:00
schaeff
e2878f19a3 update parser and ast to be stricter, fix conversion to absy, wip 2021-05-26 15:22:23 +02:00
schaeff
6e37b15973 merge dev 2021-05-17 23:04:16 +02:00
schaeff
4fbd534376 allow comment after new line, tweak docs 2021-05-17 22:58:24 +02:00
dark64
5539edc16b remove strict ordering of declarations, refactor import logic 2021-05-12 20:03:08 +02:00
dark64
39e28615e3 merge dev 2021-04-16 22:05:29 +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
61833d70c4 import multiple symbols in a single from-import statement 2021-04-12 18:49:58 +02:00
dark64
a5129fb8f0 allow underscore before type suffix 2021-04-08 12:00:28 +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
fd7164f05d Merge branch 'develop' into constant-def 2021-04-02 17:49:24 +02:00
dark64
f8dc4d7649 introduce constant definitions 2021-04-01 23:22:35 +02:00
schaeff
9d13b4129d merge dev, implement inference for neg and pos, fix conclicts 2021-04-01 17:34:05 +02: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
schaeff
5897a6f172 add negative and positive operators 2021-03-16 19:22:32 +01:00
schaeff
0537b1b256 make tests pass, simplify stdlib 2021-01-21 01:00:56 +01:00
schaeff
a70443ce94 make tests pass, typed repeat, generic stdlib 2021-01-19 22:50:33 +01:00
schaeff
2a2da0173f clean, allow literal in explicit constant parameter, add tests 2021-01-18 15:18:36 +01:00
schaeff
5fe05099b3 make all tests pass 2021-01-14 16:58:44 +01:00
schaeff
58f9a521ec introduce owned types 2021-01-12 11:21:10 +01:00
schaeff
6e769f30c5 merge dev 2020-11-24 16:41:40 +00:00
schaeff
9f3ccdb7f2 add remainder operation 2020-11-19 12:35:42 +00:00
schaeff
304e4fa3cb wip 2020-09-16 17:57:12 +02:00
schaeff
2e56d2f1cf add generics to parser. now need to allow generics in types... 2020-08-19 15:15:23 +02:00
schaeff
0ff3e3e6c5 make absy accept expression as array size 2020-08-11 17:16:26 +02:00
schaeff
409e55d322 more literals for uints 2020-08-06 18:36:16 +02:00
schaeff
58b3c00efe introduce simpler syntax for single return and empty return 2020-08-04 00:27:26 +02:00
schaeff
0c45880c2e introduce explicit assert syntax 2020-07-15 16:23:28 +02:00
schaeff
716f9e45ce merge dev 2020-05-07 17:18:22 +02:00
schaeff
c802077b74 add macro to restrict compilation to a given curve 2020-04-22 19:53:10 +02:00
schaeff
12bfb538e1 cache bits when calling u32 from bits 2020-04-16 20:10:56 +02:00
schaeff
9a1d40ffad change parser to accept struct types when declaring, enforce examples to be tested 2020-04-08 18:03:04 +02:00
Jacob Eberhardt
4c64829853 Removed obsolete comment 2020-04-06 22:44:12 +02:00
schaeff
76ebc229c2 merge 2020-04-03 15:19:50 +02:00
schaeff
57312f6087 simplify parser and process multidefs in from_ast 2020-04-02 17:28:46 +02:00
schaeff
f00338bcbe remove non multidef calls 2020-03-31 16:05:49 +02:00
schaeff
6d65801b9b fix parser, fmt 2020-03-02 11:42:24 +01:00
schaeff
d7302d8dd0 typos 2020-02-25 11:24:03 +01:00
schaeff
fec3e4dbfa merge, stop creating directives for constants 2020-02-18 20:02:40 +01:00
schaeff
e8df5831c3 merge dev 2020-02-17 23:18:20 +01:00
William Entriken
27e9385a18 Whitespace and spelling fixes 2020-01-06 14:07:40 -05:00
schaeff
b0382ea64e add u to bits and back 2020-01-03 12:54:13 +01:00
schaeff
e86b94751f use FlatUExpression for better performance 2019-12-24 15:31:44 +01:00
dark64
e90f63c8a0 add missing keywords to pest 2019-12-10 09:47:05 +01:00
schaeff
9277d0c084 started implementing sha256, wip 2019-12-03 17:41:43 +01:00
schaeff
19be8c463c Merge branch 'develop' of github.com:Zokrates/ZoKrates into u8-playground 2019-11-26 15:23:27 +01:00
Edi Sinovcic
42d472f86a
Removing return also 2019-11-08 15:40:23 +01:00
schaeff
80e3e18de2 add u16, update abi to be strict about bitwidth of passed values 2019-11-06 14:01:38 +01:00