parazyd 9888739171 zkas/proofs: Add initial doc and proper source code for anonymous voting. 4 лет назад
..
proofs 9888739171 zkas/proofs: Add initial doc and proper source code for anonymous voting. 4 лет назад
src fe6c62f38a zkas: Prepend magic AND version. 4 лет назад
Cargo.lock b05a32d0e1 zkas: Use IndexMap instead of HashMap to keep order. 4 лет назад
Cargo.toml b05a32d0e1 zkas: Use IndexMap instead of HashMap to keep order. 4 лет назад
Makefile 3511b8ff51 zkas: Add zkas code from zkas repo. 4 лет назад
README.md 8c93154dc6 book/zkas: Add introductory text. 4 лет назад

README.md

zkas

zkas is a compiler for the Halo2 zkVM langage used in DarkFi.

The documentation on both the compiler and the language can be found in the book: https://darkrenaissance.github.io/darkfi/zkas/zkas.html

The current implementation found in the DarkFi repository inside https://github.com/darkrenaissance/darkfi/tree/master/zkas is the reference compiler and language implementation. It is a toolchain consisting of a lexer, parser, static and semantic analyzers, and a binary code compiler.

The main.rs file shows how this toolchain is put together to produce binary code from source code.