leo/examples
evan-schott f9371771e6 fix
2024-06-21 11:04:59 -07:00
..
auction fix 2024-06-21 11:04:59 -07:00
basic_bank fix 2024-06-21 11:04:59 -07:00
battleship fix 2024-06-21 11:04:59 -07:00
bubblesort fix 2024-06-21 11:04:59 -07:00
core fix 2024-06-21 11:04:59 -07:00
fibonacci fix 2024-06-21 11:04:59 -07:00
groups fix 2024-06-21 11:04:59 -07:00
hackers-delight fix 2024-06-21 11:04:59 -07:00
helloworld fix 2024-06-21 11:04:59 -07:00
interest fix 2024-06-21 11:04:59 -07:00
lottery fix 2024-06-21 11:04:59 -07:00
message fix 2024-06-21 11:04:59 -07:00
simple_token fix 2024-06-21 11:04:59 -07:00
tictactoe fix 2024-06-21 11:04:59 -07:00
token fix 2024-06-21 11:04:59 -07:00
twoadicity fix 2024-06-21 11:04:59 -07:00
vote fix 2024-06-21 11:04:59 -07:00
README.md WIP removing input files from examples 2024-01-15 15:45:07 -08:00

Leo Examples

This directory includes the following Leo code including:

  1. Hello World -> Basic Sum of two u32
  2. Groups -> Basic operations over groups
  3. Core -> Core functions over a field type
  4. Bubblesort -> Sorting algorithms over a tuple
  5. Message -> Initialization of a struct
  6. Token -> Record example

along with many more.

Run Guide

To run each program, run:

leo run main <inputs> 

Execute Guide

To execute each program call, run:

leo execute main <inputs>