jsxer icon indicating copy to clipboard operation
jsxer copied to clipboard

add a way to validate decompiled syntax.

Open psyirius opened this issue 1 year ago • 3 comments

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

psyirius avatar Mar 22 '23 06:03 psyirius

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

AngeloD2022 avatar Mar 22 '23 13:03 AngeloD2022

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 avatar Mar 23 '23 08:03 psyirius

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

psyirius avatar Mar 23 '23 08:03 psyirius