Commit Graph

576 Commits

Author SHA1 Message Date
howardwu
c935d6a486 Update license to 2021 2021-02-01 20:26:56 -08:00
gluaxspeed
2bda443d9c added more tests 2021-01-27 12:10:34 -05:00
collin
d7cced6e53 rustup update && cargo clippy 2021-01-26 14:55:15 -05:00
gluaxspeed
29ff3c90b6 error and error message for deprecated test syntax, fmt, clean up 2021-01-25 15:12:10 -05:00
Protryon
3c063d725f rename conditional expr to ternary 2021-01-14 05:27:31 -08:00
Howard Wu
d3fcd19506
Merge pull request #536 from AleoHQ/fix/return-type-check
Fix/return type check
2021-01-12 16:42:13 -04:00
collin
9215d911e6 use eq_flat type comparison method 2021-01-11 21:40:02 -05:00
Collin Chin
5f80cc4642
Merge pull request #532 from huitseeker/no-panic
Removes a panic
2021-01-11 20:52:59 -05:00
collin
758cf88de7 fix warnings 2021-01-08 20:08:14 -05:00
collin
c48c39caaf check output register type == return value type + tests 2021-01-08 20:06:23 -05:00
François Garillot
d41c1b7138
Removes a panic
One panic can be folded in the error case of its enclosing `Result`, an `unwrap` call can be elided through pattern-matching reformulation.
2021-01-08 07:12:23 -08:00
Howard Wu
2cde6d0659
Merge pull request #520 from AleoHQ/fix/conditional-logging
fix conditional logging bug #407
2021-01-07 20:30:48 -04:00
collin
fea8bb6d1e Merge branch 'master' of github.com:AleoHQ/leo into ast-cleanup 2021-01-05 13:09:41 -05:00
collin
d28e161706 fix conditional logging bug #407 2021-01-04 11:34:38 -05:00
howardwu
2d64515763 Migrate to snarkVM 2020-12-30 12:40:45 -04:00
howardwu
1d9215a1ac Migrates to hot 1.1.4 and adds memory usage improvements for programs 2020-12-30 11:32:10 -04:00
Protryon
91cac5f9d0 remove custom eq/hash implementations, add node implementations, remove range_or_expression 2020-12-21 05:58:10 -08:00
Protryon
833eeb7fc5 fix mutable match error 2020-12-16 15:01:15 -08:00
Protryon
6bb3437280 remove unused assign code 2020-12-16 15:01:14 -08:00
Protryon
d1276bd95d statement breakout 2020-12-16 15:00:45 -08:00
collin
1dbd72c453 Merge branch 'master' of github.com:AleoHQ/leo into expression-breakout 2020-12-16 13:46:43 -05:00
howardwu
babb8ec175 Hotfix cargo fmt 2020-12-14 13:54:46 -04:00
Howard Wu
235f85e039
Merge pull request #494 from AleoHQ/refactor/parse-program-from-string
Undeprecate parse_program_from_string
2020-12-11 17:35:10 -04:00
Howard Wu
878f0a8461
Merge pull request #493 from AleoHQ/fix/self-access-scope
fix accessing self variable inside nested scope bug
2020-12-11 17:33:32 -04:00
collin
ca36d06022 undeprecate parse_program_from_string and add test 2020-12-11 13:31:13 -05:00
collin
161fe2608c fix accessing self variable inside nested scope bug 2020-12-10 18:02:25 -05:00
collin
6e67ea485a Merge branch 'master' of github.com:AleoHQ/leo into fix/nested-mut-assignee 2020-12-09 17:06:49 -05:00
collin
00dac3709a Merge branch 'master' of github.com:AleoHQ/leo into fix/prefer-index-map 2020-12-08 16:07:49 -05:00
collin
8a44eff4a5 fix nested mutable assignee bug, add swap test 2020-12-08 16:00:12 -05:00
Protryon
5c1a522f89 remove debug prints 2020-12-07 17:05:45 -08:00
Protryon
f9dc75f70c expression breakout 2020-12-07 17:05:44 -08:00
collin
e93100eb6a merge master 2020-12-07 19:55:03 -05:00
Howard Wu
f841f2e348
Merge pull request #466 from AleoHQ/fix/nested-mut-value
Fixes assignment of mutable variable to mutable variable
2020-12-07 20:41:58 -04:00
collin
4cac0aeb41 merge master, update serialization test 2020-12-07 16:40:34 -05:00
Protryon
b9fb1123de block ast node 2020-12-07 13:28:03 -08:00
collin
1dbdf23d5a use index map in compiler module 2020-12-07 12:18:20 -05:00
collin
3b23eb595a return iterator instead of vector 2020-12-07 11:22:45 -05:00
collin
7745710dc4 cargo +nightly clippy 2020-12-04 19:06:29 -05:00
collin
cd53cba77a fix circuit selftype error bug 2020-12-04 17:56:59 -05:00
collin
0f91630a9f merge function input self changes 2020-12-04 16:52:19 -05:00
collin
f1bd5399a1 cargo clippy 2020-12-04 16:47:03 -05:00
collin
0698f5df59 Merge branch 'master' of github.com:AleoHQ/leo into feature/circuit-self-input 2020-12-04 16:41:31 -05:00
collin
dfcc77a860 add test for bug #430 early returns 2020-12-03 13:38:05 -05:00
collin
b94c70588e refactor execution of branch indicators and function returns 2020-12-03 13:24:23 -05:00
collin
1217e9860e fix nested mutable value bug 2020-12-02 12:29:32 -05:00
collin
7ce927ff78 remove unused branch 2020-12-01 15:43:35 -05:00
collin
d8c08fedd7 fix tests 2020-12-01 15:37:44 -05:00
collin
8457b05354 remove mut circuit variable definition 2020-12-01 11:54:51 -05:00
collin
7977b20ad2 remove mut variable keyword 2020-12-01 10:19:02 -05:00
collin
82e13edbbe pass mutable reference to circuit variable when 'mut self' keyword is present 2020-12-01 10:12:50 -05:00