Skip to content

Commit

Permalink
chore: add comments to ashlang ar1cs test vector
Browse files Browse the repository at this point in the history
  • Loading branch information
chancehudson committed Oct 15, 2024
1 parent 98f4011 commit 92810d8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test-vectors/ashlang/example.ar1cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# r1cs_test.ash
# This script tests various mathemetical operators
# view the source below
#
# https://github.com/chancehudson/ashlang/blob/main/ashlang/test-vectors/r1cs_test.ash
#

x1 = (1*one) * (0*one) # scalar literal (0) to signal index 0 (member of vector)
x2 = (1*one) * (100*one) # scalar literal (100) to signal index 0 (member of vector)
x3 = (100*one) + (0*one) # assert_eq() (./ashlang/stdlib/assert_eq.ar1cs)
Expand Down

0 comments on commit 92810d8

Please sign in to comment.