Skip to content

X0-S/zkasmcom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zkASM Compiler

Compiles zkasm file to a json ready for the zkExecutor

Setup

$ npm install
$ npm run build

Usage

Generate json file from zkasm file:

$ node src/zkasm.js <input.zkasm> -o <output.json>

For test purposes (partial inclusion of files):

  • allowUndefinedLabels: Allows to leave labels undefined.
  • allowOverwriteLabels: Allows to overwrite labels.
  • allowUndefinedVariables: Allows to leave variables without declaration (undefined)
node src/zkasm.js <input.zkasm> -o <output.json> -t allowUndefinedLabels -t allowOverwriteLabels -t allowUndefinedVariables

Instructions

In this link found more information about instructions.

About

This repo compiles .zkasm to a json ready for the zkExecutor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Yacc 50.6%
  • JavaScript 49.4%