Skip to content

☂️ Transpiler / Transformer #974

@Boshen

Description

@Boshen

Contribution Instructions

The implementation is in crates/oxc_transformer.

To get started, take a look at the previous implementations.

The integrations tests are located in tasks/transform_conformance/src/lib.rs,
Run it with just watch 'run -p oxc_transform_conformance' or with a filter just watch "run -p oxc_transform_conformance -- --filter type-arguments".


Tasks

Third Party Plugins

Feature list

Legend:

  • [Syntax] means this is a syntax plugin, no code is required because it is supported by the parser.
  • [Regex] means this is a regex transform, which is not supported.
  • [Codegen] means the code generator is responsible for the feature.

@babel/preset-react

  • @babel/plugin-transform-react-jsx

@babel/preset-typescript

  • @babel/plugin-transform-typescript

@babel/preset-env

ES2024

  • [Regex] unicode-sets-regex

ES2023

Does not have any features.

ES2022

ES2021

ES2020

ES2019

  • optional-catch-binding
  • [Codegen] json-strings

ES2018

  • async-generator-functions
  • object-rest-spread
  • [Regex] unicode-property-regex
  • [Regex] dotall-regex
  • [Regex] named-capturing-groups-regex

ES2017

  • async-to-generator

ES2016

ES2015

Metadata

Metadata

Assignees

Labels

A-transformerArea - Transformer / Transpiler

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions