GithubHelp home page GithubHelp logo

sambarnes / noir-by-example Goto Github PK

View Code? Open in Web Editor NEW
43.0 43.0 6.0 448 KB

an introduction to noir, with simple examples

Home Page: https://noir-by-example.org

License: Apache License 2.0

JavaScript 18.16% HTML 22.93% CSS 10.31% Rust 48.13% Makefile 0.47%

noir-by-example's People

Contributors

arihantbansal avatar dependabot[bot] avatar sambarnes avatar victoriagrasshopper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

noir-by-example's Issues

comptime

In comptime example, you said that

// cannot be mutable tho, so this would fail???
let mut bad_var: comptime Field = 3;

But looks like mutable is ok, the error is unused variable bad_var. using it e.g. assert(bad_var == 3); will work

So comptime Field can be mutable apparently?

Missing name & type in Nargo.toml

Hi there,

I just tried to get started with noir-by-example but was getting the following error when using nargo test --show-output: Error: Missing 'name' field in /noir-by-example/circuits/examples/hello-world/Nargo.toml

I believe this is related to the latest version of Noir (I am using 0.9.0) requiring a name and type in the Nargo.toml files. When adding the below to the Nargo.toml in the hello-world example, the test passes without error:

name = "hello world"
type = "bin"

I am planning to go through all examples over the coming days and could then make a PR with this adjustment for all examples. Just wanted to already highlight it here in case anyone else encounters the same problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.