Crate acir

Source
Expand description

C++ code generation for ACIR format, to be used by Barretenberg.

To regenerate code run the following command:

NOIR_CODEGEN_OVERWRITE=1 cargo test -p acir cpp_codegen

Re-exports§

pub use circuit::black_box_functions::BlackBoxFunc;
pub use circuit::opcodes::InvalidInputBitSize;
pub use acir_field;
pub use brillig;

Modules§

circuit
The Abstract Circuit Intermediate Representation (ACIR)
native_types
Low-level native types used within the crate::circuit module for representing ACIR.
parser 🔒
serialization 🔒
Serialization formats we consider using for the bytecode and the witness stack.

Enums§

SerializationFormat
A marker byte for the serialization format.

Traits§

AcirField
This trait is extremely unstable and WILL have breaking changes.

Functions§

parse_opcodes

Type Aliases§

FieldElement