Skip to content

Commit 2cc2d28

Browse files
committed
Merge branch 'main' into generic-asserteq
2 parents 66bd1a6 + 8188bf6 commit 2cc2d28

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2673
-139
lines changed

CONTRIBUTING.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,29 @@
11
# Contributing to noname
22

3-
You want to contribute to noname (or this file)? Look no further!
3+
**You want to contribute to noname (or this file)? Look no further!**
44

5-
The first thing you should look at, is our [list of easy issues](https://github.com/zksecurity/noname/issues?q=is%3Aopen+is%3Aissue+label%3Aeasy). Find something in there and ask for more information if you need it! We'll be happy to help you.
5+
## Where to start contributing?
66

7-
[The book](https://zksecurity.github.io/noname/) also has more information about internals, but keep in mind that it might not always be up to date (PRs to fix that are welcome). You can also check our [series of videos here](https://cryptologie.net/article/573).
7+
The first thing you should do is to try using noname by yourself. If something doesn't compile, or seems confusing, then that's an opportunity to make it compile, improve the error, or improve the documentation. In general if something is confusing or lacking please post an issue!
88

9-
General advice:
9+
Make sure you `git clone` this repository and then create an alias for running your local copy of noname (e.g. `alias noname_dev="cargo run --manifest-path ABSOLUTE_PATH_TO_THE_CLONED_REPO`).
1010

11-
* write the code you want to be able to compile, and if it does not compile post an issue. We can then discuss if this is something that should be implemented!
12-
* setup debugging and step through the program to understand how noname compiles things, and how you can fix something that doesn't work! (see next section)
13-
* any improvement to the user experience is welcome (better error messages, better documentation, better examples, better CLI, etc.)
11+
Once you're a bit more familiar with how to play with noname, check our [list of easy issues to start contributing](https://github.com/zksecurity/noname/issues?q=is%3Aopen+is%3Aissue+label%3Aeasy). Find something in there and ask for more information if you need it! We'll be happy to help you.
12+
13+
Generally, a good way to hit your goal is to start by writing the code you want to be able to compile and work backward to make it compile.
14+
15+
## How to learn about the inners of noname?
16+
17+
The [noname book](https://zksecurity.github.io/noname/) has a lot of information about internals, but keep in mind that it might not always be up to date (PRs to fix that are welcome).
18+
19+
For a gentle intro, you can check [a walkthrough of the codebase here](https://www.youtube.com/live/pQer-ua73Vo), as well as our [series of videos here](https://cryptologie.net/article/573).
1420

1521
## Setup & Debugging
1622

1723
In vscode you can create such a file to easily debug a command. (But you should also see a "debug" button above any tests within vscode.)
1824

1925
```json
2026
{
21-
// Use IntelliSense to learn about possible attributes.
22-
// Hover to view descriptions of existing attributes.
23-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
2427
"version": "0.2.0",
2528
"configurations": [
2629
{
@@ -51,3 +54,9 @@ In vscode you can create such a file to easily debug a command. (But you should
5154
]
5255
}
5356
```
57+
58+
In addition, we have a `--server-mode` that allows you to look at the different stages of compilation visually within your browser. Run it as:
59+
60+
```
61+
$ noname build --server-mode
62+
```

0 commit comments

Comments
 (0)