dillon1000/react

Commit

[rust] Remove SWC

After the previous PR we no longer depend on SWC for the critical path of 
development/testing. Notably this unblocks adding support for the rest of the 
language: the new `forget_hermes_parser` crate automatically converts Hermes 
Parser's AST into our `forget_estree` format via codegen. Achieving full 
language support with SWC would have required manually defining the remaining 
conversions for the rest of the language. 

Long-term we'll need to revisit how to integrate into SWC, and more generally 
into setups build atop SWC such as Next.js's Turbopack-based build 
configuration. But i'll delete for now since we don't depend on it for 
iteration, it's slow to build, and requires us to opt-in to nightly Rust.
Browse files
Changed paths6 files
First-parent comparison
M compiler/forget/Cargo.lock ModifiedM compiler/forget/Cargo.toml ModifiedD compiler/forget/crates/forget_estree_swc/Cargo.toml DeletedD compiler/forget/crates/forget_estree_swc/README.md DeletedD compiler/forget/crates/forget_estree_swc/src/lib.rs DeletedM compiler/forget/rust-toolchain.toml Modified
Patch

Files changed

Rendering syntax-highlighted changes…