circom Compiler
circom
has two compilation phases:
- The construction phase, where the constraints are generated.
- The code generation phase, where the code to compute the witness is generated.
If an error is produced in any of these two phases, circom will finish with an error code greater than 0. Otherwise, if the compiler finish successfully, it finishes returning 0.