Google engineers have proposed JSIR, a high-level intermediate representation (IR) for JavaScript, via an RFC on the LLVM discourse forum. Unlike most JavaScript tooling that relies on AST-based approaches, JSIR aims to be a public, stable IR that captures all source-level information. It is already in production use at Google for code analysis, transpiling bytecode to JavaScript, and deobfuscating JavaScript. The team is exploring whether JSIR could be upstreamed into MLIR, and the project is already open-source on GitHub.

1m read timeFrom phoronix.com
Post cover image

Sort: