Commit Graph

4870 Commits

Author SHA1 Message Date
Alessandro Coglio
1ea21716cf [examples] Ensure correct record address.
Also vary the other addresses.
2022-08-05 22:56:46 -07:00
Alessandro Coglio
855853d262 [examples] Add a record nonce. 2022-08-05 22:36:53 -07:00
Alessandro Coglio
5d3c7a6516 [examples] Try a different address. 2022-08-05 22:31:14 -07:00
Alessandro Coglio
ea6bee21f0 [examples] Add @program annotation. 2022-08-05 22:03:43 -07:00
Alessandro Coglio
8c0991780a Merge testnet3. 2022-08-05 20:47:49 -07:00
Collin Chin
7b739a35e1
Merge pull request #1996 from AleoHQ/feat/codegen-for-function-calls
Codegen for Function Calls
2022-08-05 20:45:05 -07:00
collin
a1e91270e8 update helloworld 2022-08-05 18:38:50 -07:00
collin
c2b53f6d55 Merge branch 'feat/codegen-for-function-calls' of github.com:AleoHQ/leo into feat/codegen-for-function-calls 2022-08-05 18:32:20 -07:00
collin
667360905f update examples 2022-08-05 18:32:07 -07:00
Collin Chin
1ea1145295
Naming nit 2022-08-05 18:25:52 -07:00
Pranav Gaddamadugu
a47eb32eaf Cleanup; add test 2022-08-05 14:58:29 -07:00
collin
d397c750d2 merge testnet3 2022-08-05 13:59:08 -07:00
Collin Chin
46f21c68a2
Merge pull request #1994 from AleoHQ/remove-unsafe
Remove all uses of unsafe
2022-08-05 13:50:53 -07:00
Alessandro Coglio
3100672c9f Merge. 2022-08-05 12:58:55 -07:00
d0cd
e7f1833d53
Merge pull request #1998 from AleoHQ/fix/ssa-folded-returns
[Fix] Ternary Folding during SSA
2022-08-05 12:43:18 -07:00
Pranav Gaddamadugu
40f313b917 Update leo new template 2022-08-05 12:42:02 -07:00
d0cd
e4db5511d6
Update compiler/ast/src/expressions/ternary.rs
Co-authored-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
2022-08-05 12:22:23 -07:00
collin
f7f6cdaef0 Merge branch 'testnet3' of github.com:AleoHQ/leo into example-auction 2022-08-05 11:56:38 -07:00
collin
5f0a6573a5 Merge branch 'testnet3' of github.com:AleoHQ/leo into remove-unsafe 2022-08-05 11:52:09 -07:00
collin
64152eb2f7 Merge branch 'testnet3' of github.com:AleoHQ/leo into feat/codegen-for-function-calls 2022-08-05 11:51:37 -07:00
collin
837a5057f0 Merge branch 'testnet3' of github.com:AleoHQ/leo into fix/ssa-folded-returns 2022-08-05 11:50:42 -07:00
Collin Chin
49be7c2c1e
Merge pull request #1999 from AleoHQ/fix/circle-ci
Update circle config.yml
2022-08-05 11:43:19 -07:00
collin
7ffbee2952 patch leo-clean ci 2022-08-05 11:30:53 -07:00
collin
8f9c7efbed fix program names 2022-08-05 11:14:58 -07:00
collin
19f51875b9 update config.yml 2022-08-05 11:06:17 -07:00
d0cd
4b4935d044
Merge pull request #1990 from AleoHQ/update_leo_examples_readme
Update leo examples documentation
2022-08-05 08:45:04 -07:00
Pranav Gaddamadugu
08b9aa0170 Regen test expectations 2022-08-05 08:43:01 -07:00
d0cd
a43e35cbde
Merge pull request #1995 from AleoHQ/abnf-compound-asg
[ABNF] Add compound assignments.
2022-08-05 08:38:58 -07:00
Pranav Gaddamadugu
d56bd3084d Fix order of folded ternary expressions when handling early return statements 2022-08-05 08:30:50 -07:00
Pranav Gaddamadugu
1e4f2b1cca Add compiler test for function calls; fix bugs; regen test expectations 2022-08-04 21:21:56 -07:00
Pranav Gaddamadugu
34be1fc39d Codegen for function call; emits closures before functions 2022-08-04 21:03:42 -07:00
Alessandro Coglio
79bef6627a [ABNF] Add compound assignments. 2022-08-04 21:01:05 -07:00
Pranav Gaddamadugu
dfea5bbf15 Add @program modifier to tests; regen expectations 2022-08-04 20:00:40 -07:00
Pranav Gaddamadugu
4e9b382c55 Typecheck helper functions; add codegen support 2022-08-04 19:34:46 -07:00
Pranav Gaddamadugu
efafb7748e Regen test expectations due to AST refactors 2022-08-04 18:00:00 -07:00
Pranav Gaddamadugu
fa8d03cbd6 Validate annotations; refactor FunctionInput in passes 2022-08-04 17:59:03 -07:00
Pranav Gaddamadugu
112cc64290 Refactor FunctionInput; removes unecessary code 2022-08-04 17:55:26 -07:00
Pranav Gaddamadugu
ac4cd71800 Reorganize ast/functions folder 2022-08-04 17:55:26 -07:00
Pranav Gaddamadugu
a73ddfb815 Add parser tests for annotations 2022-08-04 17:55:26 -07:00
Pranav Gaddamadugu
2b3bda7da7 Add Annotation to AST; enable parser support 2022-08-04 17:55:26 -07:00
Pranav Gaddamadugu
a269e0f764 Add @ token to the parser 2022-08-04 17:55:26 -07:00
Mazdak Farrokhzad
a77d3b4092 forbid unsafe_code in all crates 2022-08-05 00:36:41 +02:00
Mazdak Farrokhzad
e5819d790b cargo clippy 2022-08-05 00:28:54 +02:00
Mazdak Farrokhzad
6dbc21484f delete all unsafe instead of commenting out 2022-08-05 00:26:35 +02:00
Mazdak Farrokhzad
6cc70015d8 remove all uses of unsafe 2022-08-05 00:21:11 +02:00
Collin Chin
8b3a7a5361
Merge pull request #1992 from AleoHQ/feat/offline-build-and-run
Add offline option to Leo CLI
2022-08-04 13:04:31 -07:00
collin
aeff08c96b cargo fmt 2022-08-04 12:30:34 -07:00
Pranav Gaddamadugu
8f3b813c70 Add offline option to Leo CLI 2022-08-04 12:08:59 -07:00
Collin Chin
754a3ce685
Merge pull request #1987 from AleoHQ/record-nonce
Record nonce
2022-08-04 09:56:40 -07:00
Collin Chin
81de7d25d8
Update compiler/compiler/src/test.rs 2022-08-04 09:38:14 -07:00