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

add a way to validate decompiled syntax. #91

Open
psyirius opened this issue Mar 22, 2023 · 3 comments
Open

add a way to validate decompiled syntax. #91

psyirius opened this issue Mar 22, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@psyirius
Copy link
Collaborator

prolly a node.js parser which parses the original and decompiled source and compares their ast.

@psyirius psyirius added the enhancement New feature or request label Mar 22, 2023
@AngeloD2022
Copy link
Owner

Good idea. Does one exist with this version of ECMAScript?

@psyirius
Copy link
Collaborator Author

we can use acorn or esprima with es3 as the version set to parse.
I hope it has es3 as a version option (not sure - been so long since i touched Node.js)

@psyirius
Copy link
Collaborator Author

psyirius commented Mar 23, 2023

we might also need to fork and customize it to parse extendscript specific syntaxes as well

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