-
-
Notifications
You must be signed in to change notification settings - Fork 755
Closed as not planned
Description
Ideally I should be able to run code thru oxc-parser, apply my own visitors, and then pass the resulting AST to oxc-transform to write/convert to string.
Plugging into the existing oxc-transform output options is fine to start, but I think oxc-transform should also allow TS/TSX final output. This wouldn’t be the default/common case, but it’d allow for a wider range of transformations without the need for an oxc-writer standalone module that (hypothetically) would just stringify an AST. (This would be kinda silly since that functionality would already be included in oxc-transform, which would mean projects using oxc-parser, oxc-transformer, and oxc-writer include the parsing and writing Rust code twice)
terkelg and AraCoders
Metadata
Metadata
Assignees
Labels
No labels