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