leo/examples
Pranav Gaddamadugu 829a1e801e Clean up tests
2024-01-15 15:45:08 -08:00
..
auction WIP removing input files from examples 2024-01-15 15:45:07 -08:00
basic_bank WIP removing input files from examples 2024-01-15 15:45:07 -08:00
battleship Remove input files written in leo example 2024-01-15 15:45:07 -08:00
bubblesort Update CI and examples 2024-01-15 15:45:08 -08:00
core WIP removing input files from examples 2024-01-15 15:45:07 -08:00
fibonacci WIP removing input files from examples 2024-01-15 15:45:07 -08:00
groups WIP removing input files from examples 2024-01-15 15:45:07 -08:00
hackers-delight WIP removing input files from examples 2024-01-15 15:45:07 -08:00
helloworld WIP removing input files from examples 2024-01-15 15:45:07 -08:00
interest WIP removing input files from examples 2024-01-15 15:45:07 -08:00
lottery Remove input files written in leo example 2024-01-15 15:45:07 -08:00
message WIP removing input files from examples 2024-01-15 15:45:07 -08:00
simple_token Update CI and examples 2024-01-15 15:45:08 -08:00
tictactoe Update CI and examples 2024-01-15 15:45:08 -08:00
token Update CI and examples 2024-01-15 15:45:08 -08:00
twoadicity WIP removing input files from examples 2024-01-15 15:45:07 -08:00
vote Clean up tests 2024-01-15 15:45:08 -08: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>