Commit Graph

16 Commits

Author SHA1 Message Date
Collin Chin
d44457fc32
[Feature] Implement leo execute (#2491)
* bump snarkvm rev

* update default gitignore

* impl leo execute

* bump snarkvm 0.14.5

* modify examples wip

* update run.sh examples

* impl env file

* clippy warning

* fix auction example

* fix auction example env

* generate new private key for new env - tests failing due to env not found err

* commit error changes

* Fix tests; clippy

* Get examples working

* leo build checks that build dir is well formed; clippy

* Clean up

* Update examples/README.md

Co-authored-by: d0cd <pranavsaig@gmail.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>

* do not commit .avm files

* use snarkvm commands

---------

Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
Co-authored-by: Pranav Gaddamadugu <pranav@aleo.org>
Co-authored-by: d0cd <pranavsaig@gmail.com>
2023-07-19 18:04:09 -07:00
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
Tom-OriginStorage
64bd319f3d Fix issues highlighted in #2156 2022-11-05 15:25:06 +08:00
Tom-OriginStorage
e5d053e471 Add Fibonacci example 2022-11-04 18:57:55 +08:00
collin
d00eff2d86 removes confusing examples 2020-10-21 11:35:00 -07:00
raychu86
2a82a760f6 Update examples 2020-09-13 17:13:14 -07:00
collin
4b14d108b7 update default input file and examples 2020-09-02 12:01:35 -07:00
collin
c3a89764bf fix example naming and manifest files 2020-08-18 22:58:14 -07:00
collin
76d04705cb ignore examples outputs directories 2020-08-03 12:57:49 -07:00
collin
1e56b3a5f6 fix all examples. change outputs -> output 2020-08-03 12:46:47 -07:00
howardwu
b58ee7233a Update outputs directory 2020-08-02 22:51:48 -07:00
collin
fb45ac7498 rename inputs -> input 2020-07-31 19:39:30 -07:00
collin
5865149c06 fix index evaluation 2020-06-22 18:28:30 -07:00
collin
1e1e4b86d9 move conditional tests into statement module 2020-06-13 02:08:21 -07:00
collin
50be017881 impl assert statement in basic conditional. use eq comparator gadget 2020-06-12 18:28:41 -07:00
howardwu
a72a333877 Migrates ast to leo-ast module 2020-06-06 23:17:40 -07:00