-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add recursive example #4969
Conversation
…8bdfa1cd17ef69e' git-subtree-dir: how-to/recursive-proofs git-subtree-mainline: ae3bcde966dd2f1f52835ea83086c31f3046d812 git-subtree-split: 6ede541281290dcff86ca37d48bdfa1cd17ef69e
This reverts commit 8120d965b61323a56b16b8531cc342fb48d49cee.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this. We just need to hook it up into JS workspace + tested in CI
Assigning myself just for tracking me supporting these efforts in the Noir board. |
Also it would be good to experiment with inlining some of the text to be shown in the docs in amongst the code and using snippets to populate the doc. This would make it easier for us to keep text + code in sync. |
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
This PR adds an example script which does recursive verification using `nargo` and the `bb` binary as based on @jzaki's javascript example noir-lang/noir#4969.
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
I'm closing this PR as we have an example which shows recursion in the |
There are examples of the noir program which are shared, and examples of how to use them, and expected results. That is:
Perhaps the Noir program should be shared, but the tools to use sit outside of that alongside eachother. Eg:
|
Description
Adds new
examples
directory with recursive example from dev-rel repo.Problem
Examples in dev-rel are not kept strictly up to date with each noir language update, so when referred to in the docs would be out of date. This code will likely need updating before automating any test as part of noir repo's CI.
Resolves #4410
Summary
There were some quirks/workarounds at the time of writing, and fixes in Noir will likely resolve those quirks (if not already).
Additional Context
A future restructure would have a new docs directory created, with the current docs moving to subfolder in that, alongside examples. So structure could be something like
docs/docs
anddocs/examples
.PS. I presume the prettier was on default cargo fmt settings.
Documentation
Check one:
PR Checklist
cargo fmt
on default settings.