Commit Graph

209 Commits

Author SHA1 Message Date
collin
b9d32ee695 remove checkmark, clarify leo output for all commands 2022-09-17 16:08:19 +02:00
Eric McCarthy
94e3516e65 [examples] improve indentation 2022-09-16 18:59:59 -07:00
Pranav Gaddamadugu
7bbaaf4245 Reorganize hackers delight examples 2022-09-13 17:22:01 +02:00
Eric McCarthy
f7d1b5c0ab [examples] a few rewordings 2022-09-13 17:22:01 +02:00
Eric McCarthy
d38e33e5a0 [examples] add descriptions of ntz* algorithms in their README.md files 2022-09-13 17:22:01 +02:00
Eric McCarthy
556799971d [examples] update ntz examples with @program and calling helper functions in places 2022-09-13 17:22:01 +02:00
Eric McCarthy
3b1895f8df [examples] eight 32-bit versions of trailing zeros from Hacker's Delight 2022-09-13 17:22:01 +02:00
Pranav Gaddamadugu
c2bed2bb54 Add name to finalize block 2022-09-13 11:06:24 +02:00
Pranav Gaddamadugu
0fa8082656 Update token example 2022-09-06 12:14:36 -07:00
d0cd
541209a92c
Merge pull request #1997 from AleoHQ/example-twoadicity
[examples] twoadicity: number of factors of two in field value
2022-08-15 08:52:10 -07:00
Collin Chin
52060b0fe8
Merge pull request #1993 from AleoHQ/example-tictactoe
[examples] A tic-tac-toe app.
2022-08-09 16:19:26 -07:00
Collin Chin
0160ad02ca
Merge pull request #1991 from AleoHQ/example-auction
[examples] A very simple auction-related example.
2022-08-09 16:19:07 -07:00
Eric McCarthy
87cbd39a66 reword comment 2022-08-09 10:13:09 -07:00
Alessandro Coglio
af7b84815a [examples] Expand tic-tac-toe documentation a bit. 2022-08-08 17:03:34 -07:00
Alessandro Coglio
d63fb7a657 [examples] Improve README. 2022-08-08 16:56:31 -07:00
Alessandro Coglio
f0e1b84618 [examples] Change 'period' to 'iteration'. 2022-08-08 16:51:37 -07:00
Alessandro Coglio
60180e78e5 [examples] Add explanations to auction example. 2022-08-08 16:34:28 -07:00
Alessandro Coglio
099d63555b [examples] Address review. 2022-08-08 16:18:11 -07:00
Alessandro Coglio
1ea21716cf [examples] Ensure correct record address.
Also vary the other addresses.
2022-08-05 22:56:46 -07:00
Eric McCarthy
c54740cc5e [examples] update field twoadicity example with @program and calling helper function 2022-08-05 22:48:43 -07:00
Alessandro Coglio
855853d262 [examples] Add a record nonce. 2022-08-05 22:36:53 -07:00
Eric McCarthy
57984afb26 merge 2022-08-05 22:36:26 -07:00
Alessandro Coglio
4a6b9404af [examples] Add @program annotation. 2022-08-05 22:33:14 -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
47f283fb9b [examples] Add @program annotations. 2022-08-05 21:59:22 -07:00
Alessandro Coglio
e36df09477 Merge testnet3. 2022-08-05 20:48:15 -07:00
Alessandro Coglio
8c0991780a Merge testnet3. 2022-08-05 20:47:49 -07:00
Alessandro Coglio
a178456a98 Merge testnet3. 2022-08-05 20:47:22 -07:00
collin
a1e91270e8 update helloworld 2022-08-05 18:38:50 -07:00
collin
667360905f update examples 2022-08-05 18:32:07 -07:00
collin
a29a293f30 Merge branch 'testnet3' of github.com:AleoHQ/leo into example-interest 2022-08-05 11:56:57 -07:00
collin
f7f6cdaef0 Merge branch 'testnet3' of github.com:AleoHQ/leo into example-auction 2022-08-05 11:56:38 -07:00
collin
6b0dc3a314 Merge branch 'testnet3' of github.com:AleoHQ/leo into example-tictactoe 2022-08-05 11:56:18 -07:00
collin
efee2e72f1 Merge branch 'testnet3' of github.com:AleoHQ/leo into example-twoadicity 2022-08-05 11:51:11 -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
Eric McCarthy
2f801a50d1 [examples] twoadicity: number of factors of two in field value 2022-08-04 22:52:40 -07:00
Alessandro Coglio
2e0b542971 [examples] A tic-tac-toe app. 2022-08-04 15:08:05 -07:00
Pranav Gaddamadugu
3b9598d768 Fixed inputs; examples working 2022-08-04 11:29:36 -07:00
Pranav Gaddamadugu
94f026bd52 Dedup interest examples; update docs 2022-08-04 10:32:04 -07:00
Alessandro Coglio
056dbc0606 [examples] Enhance READMEs. 2022-08-04 10:32:04 -07:00
Alessandro Coglio
4621b87712 [examples] Tweak. 2022-08-04 10:32:04 -07:00
Alessandro Coglio
9deaa52aa6 [examples] Update constant and comments. 2022-08-04 10:32:04 -07:00
Alessandro Coglio
01c158e1ae [examples] Slightly more elaborate interest program.
Now the number of periods is an input (up to a max).
2022-08-04 10:32:04 -07:00
Alessandro Coglio
123aa2822c [example] Simple interest calculation. 2022-08-04 10:32:04 -07:00
Alessandro Coglio
54f2410e96 [examples] Get this to compile at least. 2022-08-03 23:21:54 -07:00
Alessandro Coglio
07154af8ec [examples] A very simple auction-related example. 2022-08-03 23:05:27 -07:00
franfiuba
f39e616c63 first update of the bubble sort readme 2022-08-04 04:46:44 +02:00
franfiuba
f2367962d6 update helloworld readme example 2022-08-04 04:45:47 +02:00
franfiuba
8d2b0c00fc update group example readme 2022-08-04 04:44:46 +02:00
franfiuba
69336dd8f2 created a root readme in the examples folder 2022-08-04 04:43:54 +02:00
collin
e5da76abaf impl nonce 2022-08-03 13:35:58 -07:00
collin
f0a6e9421b fix import example and logging output 2022-08-01 16:23:20 -07:00
collin
bef473b656 add import example, remove directory nesting, improve examples readme 2022-08-01 16:04:00 -07:00
Pranav Gaddamadugu
3a5c0abbef Introduce bubblesort_tuple example 2022-07-29 08:51:09 -07:00
Pranav Gaddamadugu
17efb7e9f3 Minor cleanup 2022-07-21 09:37:45 -07:00
collin
97594cac4d add token example comments 2022-07-21 00:15:06 -07:00
collin
73fd21f198 fix groups example, add comments 2022-07-20 23:25:13 -07:00
collin
a3e2944d55 add other examples 2022-07-20 16:07:37 -07:00
collin
f8582c398d fix manifest run bug 2022-07-20 15:56:48 -07:00
Pranav Gaddamadugu
a6feb314a7 Produce a valid record as input 2022-07-20 15:02:33 -07:00
Pranav Gaddamadugu
0570a421f0 Mint function executes 2022-07-20 13:09:43 -07:00
Pranav Gaddamadugu
eb1f9a561f Update token example with mint and transfer 2022-07-20 12:31:04 -07:00
collin
5aa53cd897 remove empty directory 2022-07-18 14:31:28 -07:00
collin
d165c6088d update examples 2022-07-18 12:50:59 -07:00
collin
5316d900f4 merge testnet3, regen tests 2022-07-18 12:32:15 -07:00
collin
6aec344ed3 impl leo run foo to target program names 2022-07-16 17:38:07 -07:00
collin
7f14e02055 import codegen working 2022-07-15 23:36:36 -07:00
collin
914a9c385e code gen for imports 2022-07-15 20:59:47 -07:00
collin
a35606f628 update revs and examples 2022-07-15 15:08:22 -07:00
collin
0e3fc48757 all the right files in all the right places 2022-07-15 14:00:52 -07:00
collin
6d884a3aaf impl build and imports directory 2022-07-15 12:26:59 -07:00
collin
a6b93cf00d impl leo build for multiple aleo files 2022-07-14 18:08:06 -07:00
collin
749a7682cd impl leo build for multiple aleo files 2022-07-14 18:07:57 -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
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
3d9c8dd0e4 add more examples, fix circuits as input 2022-07-12 21:43:19 -07:00
collin
c0e968206b fix examples 2022-07-12 18:30:55 -07:00
collin
f91b960031 push public input var in helloworld example 2022-07-12 15:12:46 -07:00
collin
dcd6501262 update revs, improve error handling, remove unused code 2022-07-12 12:48:51 -07:00
collin
e013b88811 stabilize leo build 2022-07-11 21:09:27 -07:00
collin
c719843223 impl program json, aleo build and run working 2022-07-11 14:10:22 -07:00
collin
ed79f5c957 merge return-tuple branch 2022-07-09 20:55:30 -07:00
collin
9e422599a0 impl tuple parsing 2022-07-09 12:39:50 -07:00
collin
d64f4787a1 merge testnet3 2022-07-08 11:27:01 -07:00
collin
b5a2790375 rename balance -> gates 2022-07-07 16:15:11 -07:00
collin
f892fe1a57 refactor type checker for removal of Copy trait 2022-07-07 12:20:34 -07:00
collin
5c8fa2bd02 update program id 2022-07-06 11:13:07 -07:00
collin
ac73ffa952 update leo cli for demo 2022-07-06 10:25:00 -07:00
collin
ade332442a impl codegen for testnet3 2022-07-06 00:48:54 -07:00
collin
1cb4afe5f9 impl record type tests 2022-06-27 16:59:06 -10:00
collin
df8ee1a1f9 fix type checking bugs 2022-06-26 15:13:58 -10:00
collin
21c6a2167a type check record init expressions 2022-06-26 10:46:32 -10:00
collin
18a74cfb85 type check record type declaration 2022-06-24 11:47:01 -10:00
collin
9d0fd00072 add record type 2022-06-23 21:44:06 -10:00
collin
6366f44762 AVM evaluate wip 2022-06-20 16:41:21 -07:00
collin
88aa7c478e enable codegen 2022-06-20 14:31:00 -07:00
collin
52395bba45 fix circuit type checking 2022-06-17 18:32:49 -07:00