Commit Graph

788 Commits

Author SHA1 Message Date
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
Howard Wu
1e7a6bf4ca
Merge pull request #157 from AleoHQ/fix/leo-test
fix leo test to run tests in isolation
2020-08-03 21:58:17 -07:00
howardwu
27ecfa0f69 Merge commands 2020-08-03 21:40:51 -07:00
Howard Wu
e46a980b26
Merge pull request #156 from AleoHQ/fix/leo-new-init
fix leo new and leo init to generate state files
2020-08-03 21:26:36 -07:00
howardwu
14c2d9e742 Split leo commands and print out state 2020-08-03 21:06:18 -07:00
howardwu
cccb62e5a4 Adds leo init CI as well 2020-08-03 21:03:47 -07:00
howardwu
22da3aa556 Merge branch 'fix/leo-test' of https://github.com/AleoHQ/leo into fix/leo-test 2020-08-03 21:01:08 -07:00
howardwu
ff88a8327b Adds leo.yml 2020-08-03 21:00:57 -07:00
Howard Wu
f2f28a37c4
Update compiler.rs 2020-08-03 20:45:29 -07:00
collin
ddcf2c0b09 fix leo test to run tests in isolation 2020-08-03 19:51:41 -07:00
Howard Wu
fb5ae329aa
Merge pull request #155 from AleoHQ/fix/signed-div-test
Fix signed integer division
2020-08-03 19:43:41 -07:00