argumentcomputer / lurk

Lurk is a Turing-complete programming language for zk-SNARKs. It is a statically scoped dialect of Lisp, influenced by Scheme and Common Lisp.
https://docs.argument.xyz
MIT License
45 stars 3 forks source link

add proof-manipulation to Lurk CLI #377

Open porcuquine opened 2 weeks ago

porcuquine commented 2 weeks ago

Something like the following should work:

% lurk prove program.lurk
% lurk verify proof.out
% lurk inspect proof.out

or

% lurk prove program.lurk -o proof.π
% lurk verify proof.π
% lurk inspect proof.π
porcuquine commented 2 weeks ago

This can and probably should integrate with the protocol API (i.e. defprotocol) — which may require a bit more machinery than I wrote above.