Home

Awesome

stwo-brainfuck

stwo-brainfuck is a ZK-VM for the Brainfuck language1, based on Stwo2.

Objectives

Design choices

Brainfuck VM

The Brainfuck language has a very loose specification, though, a general specification has been established as a minimal base. We try to follow these guidelines.

Acknowledgements

The constraints used here rely on work made by Alan Szepieniec3 and sibling article from Neptune Cash4. The Brainfuck compiler and interpreter have been adapted from rkdud0075

Footnotes

  1. Brainfuck Language

  2. Stwo repository

  3. BrainSTARK - Alan Szepieniec

  4. BrainSTARK - Neptune Cash

  5. rkdud007 brainfuck-zkvm repo