Hello!

I was looking at ESBuild and other alternatives to Webpack and Rollup that are not written in JS themselves and wondered if it was possible to utilize the JerryScript parser?

Looking at the `jerry-core/parser` files, it seems that it would be possible to. But the "public" headers in `/include` don't seem to mention the parser at all (or I just overlooked it, quite possible).

What function would I be going for to just parse JS into an AST and then walk or possibly re-write it? For instance, to re-write imports, or to append other functions and alike.

Thanks and kind regards,
Ingwie
Using the JerryScript Parser to make other tooling
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title : Using the JerryScript Parser to make other tooling
Issue date:

--- start body ---
Hello!

I was looking at ESBuild and other alternatives to Webpack and Rollup that are not written in JS themselves and wondered if it was possible to utilize the JerryScript parser?

Looking at the `jerry-core/parser` files, it seems that it would be possible to. But the "public" headers in `/include` don't seem to mention the parser at all (or I just overlooked it, quite possible).

What function would I be going for to just parse JS into an AST and then walk or possibly re-write it? For instance, to re-write imports, or to append other functions and alike.

Thanks and kind regards,
Ingwie
--- end body ---
