Commit Graph

4878 Commits

Author SHA1 Message Date
Collin Chin
a583cd527a
Merge pull request #2000 from AleoHQ/fix/tyc-for-shift-and-pow
[Fix] Tyc for `<<=`, `>>=`, and `**=`
2022-08-08 16:26:25 -07:00
Collin Chin
5562132a81
Merge pull request #2005 from AleoHQ/test-examples
Run examples in circleci
2022-08-08 15:54:19 -07:00
collin
c7415a1cce run all Leo examples 2022-08-08 15:32:41 -07:00
collin
1cbeadc374 consolidate run examples into a single test script 2022-08-08 15:20:29 -07:00
collin
0b95c19652 add groups example in circleci 2022-08-08 15:07:42 -07:00
collin
a75df0c1f5 test core example in circleci 2022-08-08 11:54:52 -07:00
collin
02092b055d test bubblesort in circleci 2022-08-08 11:53:20 -07:00
collin
5cb6150b39 mark hellworld as executable 2022-08-08 11:38:00 -07:00
collin
1aef4987c2 fix config.yml 2022-08-08 11:25:21 -07:00
collin
d10c3943cc add test helloworld to circleci 2022-08-08 11:21:08 -07:00
collin
59bcaa9a60 leo run helloworld in circleci 2022-08-08 11:15:11 -07:00
Pranav Gaddamadugu
6897628800 Cleanup 2022-08-06 07:50:18 -07:00
Pranav Gaddamadugu
2740099e77 Regenerate test expectations 2022-08-06 07:50:18 -07:00
Pranav Gaddamadugu
84369793ac Update passes to account for change in AST 2022-08-06 07:49:36 -07:00
Pranav Gaddamadugu
965102152a Parser produces simplified assignment statements directly 2022-08-06 07:49:36 -07:00
Pranav Gaddamadugu
a531b9642f Remove complex assignments from the AST 2022-08-06 07:49:36 -07:00
Pranav Gaddamadugu
ba0d7b8d0d Add test cases demonstrating failing typechecking 2022-08-06 07:49:36 -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
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
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