ashlang 0.1.3

A language for zero knowledge proofs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
(a, b) -> ()

# one is a global signal that is equal to 1
# e.g. one === 1
#
# coefficients must be literals
#
# an extra (0,one) is added below
# this evaluates to 0 and is thus a no-op
0 = (1*a + 0*one) * (1*one) - (1*b) # assert equality

# no symbolic constraint necessary
# only operating on known values