πŸš€πŸ™ƒ Behold, the latest miracle of over-engineering: JSIR! Yet another attempt to make #JavaScript less chaotic by throwing in a bafflingly named "high-level IR" that only a handful of Googlers could pretend to understand. Don't worry, the rest of us will continue to "analyze" JS with our trusty debugger and a strong drink. πŸ»πŸ€¦β€β™‚οΈ
https://discourse.llvm.org/t/rfc-jsir-a-high-level-ir-for-javascript/90456 #Overengineering #HighLevelIR #Debugging #HackerNews #HackerNews #ngated
[RFC] JSIR: A High-Level IR for JavaScript

This RFC introduces JSIR, a high-level IR for JavaScript: JSIR preserves all information from the AST and supports high-fidelity round-trip between source ↔ AST ↔ JSIR; JSIR uses MLIR regions to represent control flow structures; JSIR supports dataflow analysis. JSIR is developed and deployed in production at Google for code analysis and transform use cases. JSIR is open source here: GitHub - google/jsir: Next-generation JavaScript analysis tooling Β· GitHub. Motivation Industry trend of bui...

LLVM Discussion Forums
[RFC] JSIR: A High-Level IR for JavaScript

This RFC introduces JSIR, a high-level IR for JavaScript: JSIR preserves all information from the AST and supports high-fidelity round-trip between source ↔ AST ↔ JSIR; JSIR uses MLIR regions to represent control flow structures; JSIR supports dataflow analysis. JSIR is developed and deployed in production at Google for code analysis and transform use cases. JSIR is open source here: GitHub - google/jsir: Next-generation JavaScript analysis tooling Β· GitHub. Motivation Industry trend of bui...

LLVM Discussion Forums