dillon1000/react

Commit

[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.
Browse files
Changed paths6 files
First-parent comparison
M compiler/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 Modified
Patch

Files changed

Rendering syntax-highlighted changes…