Not sure decompiler is the right word here. I'm looking for a JavaScript library to which I could feed either a JS function or source code of that function and it would break it down to to an array of syntax blocks (not unlike DOM for HTML) which i could then edit and turn it back into code for compilation.

Essentially what I need it for is making a transpiler for a few little extensions I wish to add to the language that would save me a ton of time.

Is there such a library?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.