Commit Graph

1751 Commits

Author SHA1 Message Date
collin
74f7749462 pass circuit members into function by value when self keyword is present 2020-11-30 17:54:41 -05:00
howardwu
a37aa7bae4 Update ci.yml 2020-11-30 18:06:46 -04:00
collin
04081beb4b move function input length check to type checking phase 2020-11-30 13:34:21 -05:00
collin
d4d5f336c4 refactor compiler to use new ast 2020-11-30 13:06:11 -05:00
Howard Wu
62e651ab11
Merge pull request #459 from AleoHQ/dependabot/cargo/self_update-0.22.0
Bump self_update from 0.20.0 to 0.22.0
2020-11-26 15:38:44 -04:00
dependabot-preview[bot]
a5a311f3e2
Bump self_update from 0.20.0 to 0.22.0
Bumps [self_update](https://github.com/jaemk/self_update) from 0.20.0 to 0.22.0.
- [Release notes](https://github.com/jaemk/self_update/releases)
- [Changelog](https://github.com/jaemk/self_update/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jaemk/self_update/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-26 10:49:43 +00:00
collin
2d2fc72ff9 fixes array spread declaration type bug 2020-11-25 17:22:12 -05:00
Collin Chin
d598f1f72b
Merge pull request #456 from AleoHQ/fix/cli-help
update leo cli message
2020-11-25 16:34:13 -05:00
collin
53cb83f289 update leo cli message 2020-11-25 00:41:28 -05:00
collin
8873971f56 update self mut self keywords in type inference module 2020-11-25 00:37:19 -05:00
collin
58cb5101eb update self mut self keywords in symbol table module 2020-11-24 21:42:59 -05:00
Collin Chin
2ee28d5301
Merge pull request #455 from AleoHQ/dependabot/cargo/tracing-0.1.22
Bump tracing from 0.1.21 to 0.1.22
2020-11-24 11:08:43 -05:00
dependabot-preview[bot]
fc5760236b
Bump tracing from 0.1.21 to 0.1.22
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.21 to 0.1.22.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.21...tracing-0.1.22)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 15:30:38 +00:00
Collin Chin
5b0119be81
Merge pull request #453 from AleoHQ/dependabot/cargo/reqwest-0.10.9
Bump reqwest from 0.10.8 to 0.10.9
2020-11-24 10:29:06 -05:00
Collin Chin
8568b22f7a
Merge pull request #452 from AleoHQ/dependabot/cargo/env_logger-0.8.2
Bump env_logger from 0.8.1 to 0.8.2
2020-11-24 10:28:46 -05:00
Collin Chin
66dddd992d
Merge pull request #448 from AleoHQ/fix/tuple-cond-select
fix error when selecting return between two tuples
2020-11-24 10:28:11 -05:00
collin
1213209b78 cargo fmt check 2020-11-23 17:01:01 -05:00
Collin Chin
26151f33ec
Merge branch 'master' into fix/tuple-cond-select 2020-11-23 16:57:22 -05:00
Howard Wu
1d1e86c8de
Merge pull request #447 from AleoHQ/fix/not-expression
fix error using not operator on mutable boolean
2020-11-23 13:49:35 -08:00
Howard Wu
25c9ac6ea2
Merge pull request #446 from AleoHQ/fix/input-tuple
fix input tuple grammar rule
2020-11-23 13:46:01 -08:00
Howard Wu
14cc19b926
Merge pull request #433 from AleoHQ/fix/state-module-names
Update naming and documentation for state module.
2020-11-23 13:43:56 -08:00
collin
1b1cfd015d fix circuit function struct in core module 2020-11-23 16:01:30 -05:00
collin
efe734afaf add input, self, mut self keyword functionality to ast module 2020-11-23 14:49:20 -05:00
collin
2c72156370 add input keyword objects to ast module 2020-11-23 12:10:58 -05:00
dependabot-preview[bot]
c809c43ef0
Bump reqwest from 0.10.8 to 0.10.9
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.10.8 to 0.10.9.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.10.8...v0.10.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 12:51:20 +00:00
collin
f8668303e3 add self and mut self to grammar module 2020-11-19 15:22:49 -08:00
dependabot-preview[bot]
468599266b
Bump env_logger from 0.8.1 to 0.8.2
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.1...v0.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-19 10:50:24 +00:00
collin
093bab6b02 add test for returning a tuple in a conditional statement 2020-11-18 18:28:41 -08:00
collin
5db2b07cb2 add test for using not operator on mutable variable 2020-11-18 18:23:11 -08:00
collin
789a744deb add test for returning tuples from function 2020-11-18 18:13:49 -08:00
collin
83f7c49d08 Merge branch 'master' of github.com:AleoHQ/leo into fix/state-module-names 2020-11-17 09:28:21 -08:00
Howard Wu
2cb44160ab
Merge pull request #439 from AleoHQ/feature/type-inference
Type inference module. PR #411 part 3/3
2020-11-16 22:12:51 -08:00
collin
dafaa66df9 update struct name in test 2020-11-16 18:13:50 -08:00
collin
db056b9383 Merge branch 'master' of github.com:AleoHQ/leo into feature/type-inference 2020-11-16 18:08:14 -08:00
collin
b59ac9c055 add check and error handling for duplicate function inputs 2020-11-16 16:27:37 -08:00
collin
c27a166dfb fix error when selecting return between two tuples 2020-11-16 16:06:28 -08:00
collin
2ed5e02de3 fix error using not operator on mutable boolean 2020-11-16 15:50:10 -08:00
collin
37944ed571 fix input tuple grammar rule 2020-11-16 15:42:13 -08:00
Howard Wu
0bc0ee4b56
Merge pull request #440 from AleoHQ/fix/symbol-table-test
fix renamed struct in test
2020-11-13 13:41:51 -08:00
collin
1fe4fd03a4 fix renamed struct in test 2020-11-13 12:38:06 -08:00
Collin Chin
a570a2a13e
Merge pull request #432 from AleoHQ/fix/leo-ast-naming
Rename leo ast -> ast
2020-11-13 11:44:46 -08:00
collin
848adfa6dd clippy use .any 2020-11-12 16:34:49 -08:00
Collin Chin
c3524df3a1
Merge pull request #434 from AleoHQ/feature/symbol-table-module
Symbol-table module. PR #411 part 2/3
2020-11-12 16:26:44 -08:00
Collin Chin
331d754acf
Update symbol-table/tests/mod.rs
Add period.

Co-authored-by: Howard Wu <9260812+howardwu@users.noreply.github.com>
2020-11-12 15:50:07 -08:00
Collin Chin
ec3e698b0c
Update symbol-table/tests/mod.rs
Co-authored-by: Howard Wu <9260812+howardwu@users.noreply.github.com>
2020-11-12 15:49:40 -08:00
collin
d3ab32822e remove unnecessary program clone 2020-11-12 15:43:37 -08:00
collin
12fdb826e9 remove unused method 2020-11-12 13:35:58 -08:00
collin
1a3020a9ca add documentation for state methods 2020-11-12 12:29:47 -08:00
collin
1a45110e8e rename leo ast imports as Ast_ 2020-11-12 12:10:19 -08:00
Collin Chin
b81c7ec25d
Merge pull request #426 from AleoHQ/feature/imports
Imports module. PR #411 part 1/3
2020-11-12 12:04:29 -08:00