leo/examples/fibonacci
d0cd 48a1f0590b
Rename console.assert* to assert*. (#2205)
* Add assert statements to AST

* Add support in passes

* Add parser support

* Add tyc support

* Add support for assert statements in the remaining passes

* Fix examples, tests, and regen expectations

* Fmt

* Regen expectations
2022-12-06 21:56:48 -08:00
..
inputs Fix issues highlighted in #2156 2022-11-05 15:25:06 +08:00
src Rename console.assert* to assert*. (#2205) 2022-12-06 21:56:48 -08:00
program.json Add Fibonacci example 2022-11-04 18:57:55 +08:00
README.md Fix issues highlighted in #2156 2022-11-05 15:25:06 +08:00

fibonacci.aleo

Build Guide

To run this program, run:

leo run fibonacci

Overview

This example shows how to calculate Fibonacci number using the fast-doubling method.

It takes the input data from inputs/fibonacci.in