iden3 / circom

zkSnark circuit compiler
GNU General Public License v3.0
1.25k stars 232 forks source link

Add AST serialization and exporting support #244

Closed YaCodesDevelopment closed 4 months ago

YaCodesDevelopment commented 4 months ago

Added --save_ast flag. When passed, this should also output the ast.json file while compiling.The file includes an array of ASTs for all the files compiled. This allows the use of that ast.json for further analysis of code in third-party libraries, unlocking the ability to create linters and other helper tools.