-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for AST-diffing Solidity #266
Comments
Nice idea! Apparently there is also a tree sitter grammar : https://github.com/JoranHonig/tree-sitter-solidity |
I looked a little bit into the output of I'll try to see if I get more luck with the tree-sitter one ^^ |
cool, thanks for the update
|
ok the tree-sitter version seems a little unstable I got a |
Hello there. I found a parser: https://github.com/solidity-parser/parser |
Hi, apparently there is a ANTLR grammar related to the code you point out here : https://github.com/solidityj/solidity-antlr4 And we have support for antlr grammars, so that might worth a try. |
For the record, we have a first prototype at https://github.com/mojtaba-eshghie/solidity-code-diff |
FYI, the paper on arxiv |
it would be great to add support for diffing Solidity.
For this we can use the existing support from solidity compiler solc
Flag
--ast-compact-json
gives the "AST of all source files in a compact JSON format."The text was updated successfully, but these errors were encountered: