Commit Graph

4835 Commits

Author SHA1 Message Date
Mazdak Farrokhzad
ce7ac0b443 run cargo clippy 2022-07-14 06:07:07 +02:00
Mazdak Farrokhzad
dab6629ac0 1. move tuple logic to typeck, 2. disallow multi vars in var decls 2022-07-14 06:07:05 +02:00
collin
9229f46bb5 regen tests 2022-07-13 21:06:54 -07:00
collin
f4a59c5745 cargo fmt 2022-07-13 21:05:38 -07:00
collin
7d604748bd add token transfer example, fix record cast codegen 2022-07-13 21:02:33 -07:00
collin
13b9261063 bump revs, fix cast instruction 2022-07-13 14:13:30 -07:00
Collin Chin
74ae110e9c
Merge pull request #1919 from AleoHQ/code-gen
Implement code generation for Aleo instructions
2022-07-12 23:09:32 -07:00
collin
d151401385 indexmap over hashmap 2022-07-12 22:52:56 -07:00
collin
0bd0aed089 update error logging 2022-07-12 22:13:54 -07:00
collin
d7efc2ddb6 regen tests 2022-07-12 21:44:26 -07:00
collin
3d9c8dd0e4 add more examples, fix circuits as input 2022-07-12 21:43:19 -07:00
collin
6b561fc38f store aleo instructions before parsing 2022-07-12 18:51:37 -07:00
collin
c0e968206b fix examples 2022-07-12 18:30:55 -07:00
collin
266fdd7a5e fix readmes and licenses 2022-07-12 16:46:42 -07:00
collin
0b81f03f3a move /leo/errors -> /errors 2022-07-12 16:41:42 -07:00
collin
6d731891d0 move /leo/span -> /compiler/span 2022-07-12 16:37:10 -07:00
collin
ca0c34ea42 remove unused wasm package 2022-07-12 16:31:19 -07:00
collin
a9992bc6d4 remove unused code 2022-07-12 16:19:58 -07:00
collin
7bbd70423d fix panic hook 2022-07-12 15:47:56 -07:00
collin
163f94d7c1 regen tests 2022-07-12 15:41:11 -07:00
collin
f91b960031 push public input var in helloworld example 2022-07-12 15:12:46 -07:00
collin
f93186513e improve errors 2022-07-12 15:00:46 -07:00
collin
fa28678a26 impl leo run 2022-07-12 14:44:20 -07:00
collin
dcd6501262 update revs, improve error handling, remove unused code 2022-07-12 12:48:51 -07:00
Pranav Gaddamadugu
f5eea6b307 Regen expectations; cleanup 2022-07-11 23:07:11 -07:00
Pranav Gaddamadugu
bceccea80b Merge branch 'testnet3' into feat/loop-unrolling 2022-07-11 22:55:42 -07:00
Pranav Gaddamadugu
1ce796a586 Regenerate test expectations 2022-07-11 22:45:59 -07:00
collin
f4a32331b7 remove unused logic 2022-07-11 22:20:37 -07:00
Pranav Gaddamadugu
5f8a1df05f Add output/benching for loop unrolling 2022-07-11 22:13:13 -07:00
Pranav Gaddamadugu
9a3fa41f9e Add loop unrolling pass to compiler 2022-07-11 21:57:48 -07:00
collin
9ccae18622 clean up cli wip 2022-07-11 21:47:01 -07:00
Pranav Gaddamadugu
639a719e4d WIP loop unrolling 2022-07-11 21:46:34 -07:00
Pranav Gaddamadugu
1a9941022c Rename type_checker to type_checking 2022-07-11 21:46:15 -07:00
Pranav Gaddamadugu
6a032e7499 WIP value 2022-07-11 21:45:05 -07:00
collin
e013b88811 stabilize leo build 2022-07-11 21:09:27 -07:00
collin
c5849f26af Merge branch 'testnet3' of https://github.com/AleoHQ/leo into code-gen 2022-07-11 15:19:14 -07:00
Collin Chin
bbdf04e999
Merge pull request #1929 from AleoHQ/dependabot/cargo/testnet3/serde_yaml-0.8.25
Bump serde_yaml from 0.8.24 to 0.8.25
2022-07-11 15:17:12 -07:00
Collin Chin
a9fd9a0c2d
Merge pull request #1928 from AleoHQ/dependabot/cargo/testnet3/serde-1.0.139
Bump serde from 1.0.138 to 1.0.139
2022-07-11 15:16:59 -07:00
Collin Chin
de23832673
Merge pull request #1927 from AleoHQ/abnf-tuples
[ABNF] Add tuples.
2022-07-11 15:16:44 -07:00
Collin Chin
5f308bfb59
Merge pull request #1926 from AleoHQ/return-tuple
Implement tuple syntax and type checking
2022-07-11 15:16:10 -07:00
Pranav Gaddamadugu
7537fb1af2 Pull passes/src/flattening from improved-flattening 2022-07-11 14:53:41 -07:00
Pranav Gaddamadugu
ae13db1d4c Type checking fills in start/stop values for IterationStatement 2022-07-11 14:48:53 -07:00
collin
c719843223 impl program json, aleo build and run working 2022-07-11 14:10:22 -07:00
Alessandro Coglio
97d26a879a [ABNF] Actually exclude 1-tuples.
Thanks to @bendyarm for noticing and reporting this.
2022-07-11 21:38:05 +02:00
collin
616a2e944d impl .aleo program id 2022-07-11 12:06:51 -07:00
collin
608d29a81c clippy 2022-07-11 11:58:31 -07:00
collin
426941ac8c fix associated function calls 2022-07-11 11:56:38 -07:00
Pranav Gaddamadugu
3b76574a78 Add start, stop values for IterationStatement 2022-07-11 11:20:54 -07:00
Pranav Gaddamadugu
3d13e8b400 WIP value 2022-07-11 11:18:25 -07:00
Pranav Gaddamadugu
987496da91 Pull errors/flattener from improved-flattening 2022-07-11 11:17:30 -07:00