js version of the ast code generator #6854
Replies: 1 comment 3 replies
-
Unfortunately no, not at present. We do plan to support this, but it will be some time coming. At present, Oxc's AST is not compatible with ESTree, so other codegens which work on ESTree-standard ASTs won't work with Oxc's AST. Our intent is to make the JS-side AST 100% compatible with ESTree (#2463, #2854), and it is an area of current work (#6347), but we do not have an estimated timescale for completion - it's a fairly hard task. Further down the line, we also plan to provide an NPM package which links into Oxc's Our current area of focus is features on Rust side - building out the transformer and minifier - so unfortunately the JS-side APIs are somewhat behind. But we do feel that JS-side APIs are also important, and will tackle this in future. |
Beta Was this translation helpful? Give feedback.
-
Is there any js tool that can successfully generate code for the AST parsed by oxc-parser? Neither escodegen nor recast tests work. rust I see oxc_codegen, js is not yet
Is there no plan to support the js version of the generator?
Beta Was this translation helpful? Give feedback.
All reactions