Skip to content
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

Sanity check: Ensure AST hasn't changed #26

Open
grigorescu opened this issue May 18, 2022 · 0 comments
Open

Sanity check: Ensure AST hasn't changed #26

grigorescu opened this issue May 18, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@grigorescu
Copy link

Black has some interesting thoughts about checking that the AST hasn't changed after re-formatting to ensure that the code is semantically equivalent: https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#ast-before-and-after-formatting

Reformatting shouldn't introduce semantic changes, so I think this would be more of a double-check on the correctness of zeekscript itself.

@bbannier bbannier added the enhancement New feature or request label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants