Commit Graph

798 Commits

Author SHA1 Message Date
collin
218a6e0864 use fp256 struct 2020-08-10 14:15:34 -07:00
collin
2d71a6f3b8 impl deserialize for bls12_377 keypair assembly 2020-08-10 13:18:12 -07:00
collin
a96eb5ad19 serialize circuit to json 2020-08-10 11:46:45 -07:00
collin
d25f3b013e serialize all constraints 2020-08-08 22:19:59 -07:00
collin
0a35babdf6 add to and from json string methods for serialized circuit in build command 2020-08-08 22:11:36 -07:00
collin
e7851d98d0 add serialize and deserialize circuit methods 2020-08-08 19:55:17 -07:00
collin
22fcd9e007 add serialized circuit file 2020-08-08 18:19:55 -07:00
Howard Wu
3c6d7e2d90
Merge pull request #191 from AleoHQ/feature/unordered-definitions
add specific test for import definition
2020-08-07 17:18:32 -07:00
collin
62c5d8251b add specific test for import definition 2020-08-07 16:59:32 -07:00
Collin Chin
7937cc876a
Merge pull request #178 from AleoHQ/feature/unordered-definitions
Support unordered definitions
2020-08-07 16:52:25 -07:00
collin
13ca17634d allow import definition at any point in a leo file 2020-08-07 16:35:55 -07:00
collin
424287eb7b Merge branch 'master' of github.com:AleoHQ/leo into feature/unordered-definitions 2020-08-07 16:18:50 -07:00
Howard Wu
ee5fa6b89d
Merge pull request #176 from AleoHQ/refactor/value-number
Refactor number value primitives in pest
2020-08-07 16:18:14 -07:00
collin
f6d3267b37 fix address rule and remove println 2020-08-07 16:02:49 -07:00
collin
09925f4d66 Merge branch 'master' of github.com:AleoHQ/leo into refactor/value-number 2020-08-07 15:28:33 -07:00
Howard Wu
9e5b986b6f
Merge pull request #163 from AleoHQ/feature/unary-minus
Implement unary minus operator to negate a value, variable, or expression
2020-08-07 15:27:05 -07:00
collin
52addca70e Merge branch 'feature/unary-minus' of github.com:AleoHQ/leo into refactor/value-number 2020-08-07 15:17:06 -07:00
collin
f32ea5b744 rename minus -> negate 2020-08-07 15:14:02 -07:00
collin
599c886d23 add formatting for unary expression 2020-08-07 15:05:00 -07:00
collin
cbf4e1b806 add compound atomic rules to access rules in pest 2020-08-06 12:36:50 -07:00
collin
6627837042 remove unnecessary value in expression term 2020-08-06 12:17:10 -07:00
collin
3d1edefedb add definition parsing to typed. add tests 2020-08-05 22:45:52 -07:00
collin
4550573213 add definition rule to pest 2020-08-05 20:56:49 -07:00
collin
8ad4724b01 merge unary pr 2020-08-05 20:06:33 -07:00
collin
e84aa7b782 Merge branch 'master' of github.com:AleoHQ/leo into feature/unary-minus 2020-08-05 19:43:38 -07:00
Collin Chin
debb344a43
Merge pull request #165 from AleoHQ/dependabot/cargo/snarkos-dpc-90d41a9
Bump snarkos-dpc from `c1bab10` to `90d41a9`
2020-08-05 19:20:52 -07:00
collin
1fd3e946f8 use compound atomic rules in pest, update tests 2020-08-05 18:13:50 -07:00
collin
06a25a2d67 add updated values to typed 2020-08-05 16:26:25 -07:00
collin
648acb7fe3 add updated values to inputs 2020-08-05 14:36:37 -07:00
collin
1c1822b4ff refactor ast values 2020-08-05 14:02:39 -07:00
Collin Chin
8f37a9d788
Merge pull request #173 from AleoHQ/refactoring
Remove unnecessary logical statement
2020-08-05 11:38:13 -07:00
Sergey Isaev
4186a3a955 Remove unnecessary logical statement 2020-08-05 20:20:53 +03:00
dependabot-preview[bot]
d39d50a7a2
Bump snarkos-dpc from c1bab10 to 90d41a9
Bumps [snarkos-dpc](https://github.com/AleoHQ/snarkOS) from `c1bab10` to `90d41a9`.
- [Release notes](https://github.com/AleoHQ/snarkOS/releases)
- [Commits](c1bab10325...90d41a91b6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-05 10:40:20 +00:00
collin
c66efc03f0 impl negation tests for all types 2020-08-04 21:37:09 -07:00
collin
269e24595f impl compiler support for integer, group, field negation 2020-08-04 21:04:45 -07:00
collin
6cff63d752 add unary expression, unary operator, minus, and not to pest and types 2020-08-04 20:09:48 -07:00
Howard Wu
494ec62f78
Merge pull request #162 from AleoHQ/refactoring
Simplify the code
2020-08-04 19:12:18 -07:00
Collin Chin
ba23ea3832
Merge pull request #152 from AleoHQ/fix/pest-address
Fix/pest address
2020-08-04 19:11:41 -07:00
Howard Wu
5635736130
Merge pull request #154 from AleoHQ/feature/array-size
Adds positive number rule to array size
2020-08-04 19:11:33 -07:00
Collin Chin
1eff3ad1dc
Merge pull request #151 from AleoHQ/fix/pest-statement
Fix pest statement rule
2020-08-04 19:10:51 -07:00
Sergey Isaev
c2d2b0363c Merge branch 'master' of github.com:AleoHQ/leo 2020-08-05 01:10:17 +03:00
Sergey Isaev
e09df32666 Simplify the code 2020-08-05 01:09:02 +03:00
collin
8b674388ad Merge branch 'master' of github.com:AleoHQ/leo into feature/array-size 2020-08-03 23:23:55 -07:00
collin
3b9fb73191 Merge branch 'master' of github.com:AleoHQ/leo into fix/pest-statement 2020-08-03 23:22:54 -07:00
collin
a0d294591e enforce aleo prefix and character length 2020-08-03 23:22:11 -07:00
collin
2c3c852ff4 Merge branch 'master' of github.com:AleoHQ/leo into fix/pest-address 2020-08-03 23:12:03 -07:00
Howard Wu
afecc12675
Merge pull request #143 from AleoHQ/dependabot/cargo/snarkos-algorithms-c1bab10
Bump snarkos-algorithms from `d80ce42` to `c1bab10`
2020-08-03 22:14:28 -07:00
Howard Wu
52de6b9108
Merge pull request #142 from AleoHQ/dependabot/cargo/snarkos-objects-c1bab10
Bump snarkos-objects from `d80ce42` to `c1bab10`
2020-08-03 22:14:08 -07:00
Howard Wu
2270edc330
Merge pull request #141 from AleoHQ/dependabot/cargo/snarkos-curves-c1bab10
Bump snarkos-curves from `d80ce42` to `c1bab10`
2020-08-03 22:13:49 -07:00
Howard Wu
392fa2ea79
Merge pull request #140 from AleoHQ/dependabot/cargo/snarkos-models-c1bab10
Bump snarkos-models from `d80ce42` to `c1bab10`
2020-08-03 22:13:25 -07:00