dillon1000/react
Commit
Browse files [rust] Start of lowering (BuildHIR)
Starts to port BuildHIR, in the Rust case this means the ESTree -> HIR conversion. This necessitated flushing out the Builder struct a bit more. Mostly the logic translates over very directly, and if anything it's cleaner because of the lack of noise dealing with TypeScript unsoundness for Babel typedefs and switch statements.
Changed paths6 files
First-parent comparisoncompiler/forget/Cargo.lock ModifiedM compiler/forget/crates/build-hir/Cargo.toml ModifiedM compiler/forget/crates/build-hir/src/build.rs ModifiedM compiler/forget/crates/build-hir/src/builder.rs ModifiedM compiler/forget/crates/hir/src/environment.rs ModifiedM compiler/forget/crates/hir/src/instruction.rs ModifiedPatch
Files changed
Rendering syntax-highlighted changes…