Skip to content
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

Suggestions to make getting started a bit easier #177

Open
martyall opened this issue Nov 3, 2023 · 0 comments
Open

Suggestions to make getting started a bit easier #177

martyall opened this issue Nov 3, 2023 · 0 comments

Comments

@martyall
Copy link

martyall commented Nov 3, 2023

I've just recently discovered this project and find it extremely interesting. Just a few observations after trying to get started:

  1. From what I can tell, the circ example is the primary executable target. It's currently listed as an example, which forces the user to be inside this repository to use the compiler. What do you think about either moving it to src/main.rs or under [[bin]] ? It would bring things more in line with what other devs would expect.

  2. Using the test file examples/C/r1cs/add.c, when running

cargo run --features="r1cs bellman c" --example circ add.c r1cs --action setup

I see the output

Done with IR optimization
Converting to r1cs
Pre-opt R1cs size: 1
Final R1cs size: 1
Generating Parameters

However, there is no compilation artifact left behind. I guess I'm not sure what I would expect to see, but at least some kind of file describing the r1cs. I think it would be helpful if the README gave a short quickstart for compiling an example program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant