Modules§
- sigma
- The submodules that would be useful to have in the lower-level
sigma-proofs
crate are for now included as submodules of a localsigma
module.
Structs§
- CodeGen
- The main struct to handle code generation for this macro.
- Sigma
Comp Spec - The
SigmaCompSpec
struct is the result of parsing the macro input. - Tagged
Point - A
TaggedPoint
is anIdent
representing aPoint
, preceded by zero or more of the following tags:cind
,const
,vec
- Tagged
Scalar - A
TaggedScalar
is anIdent
representing aScalar
, preceded by zero or more of the following tags:pub
,rand
,vec
Enums§
- Tagged
Ident - A
TaggedIdent
can be either aTaggedScalar
or aTaggedPoint
Functions§
- apply_
transformations - Apply all of the compiler transformations.
- enforce_
disjunction_ invariant - Transform the
StatementTree
so that it satisfies the disjunction invariant. - sigma_
compiler_ core - The main function of this macro.
Type Aliases§
- Tagged
VarDict - A
TaggedVarDict
is a dictionary of the available variables, mapping the string version ofIdent
s toTaggedIdent
, which includes their type (Scalar
orPoint
)