privacy-scaling-explorations / chiquito

DSL for Halo2 circuits
https://docs.pecadorplonkish.xyz/
185 stars 39 forks source link

implemented rule to constraint assignments only to signals #217

Closed rutefig closed 7 months ago

rutefig commented 7 months ago

Implemented the rule to only allow assignments (<-- and <==) to signals and did a simple test to check if we throw the error when we are doing that to a wg var

leolara commented 7 months ago

Perfect!! The only thing perhaps the message, because = will allow assignment to wgvars. So perhaps we can say that you cannot use <-- but can use = or something like that