[RFC] JSIR: A High-Level IR for JavaScript
16 points by pdubroy
16 points by pdubroy
It doesn't look like it would keep comments in a source to source transformation. Isn't that a problem for the intended use?
It does, check the ast transformer tool.
Yeah I learned that it puts them all in one big list at the top, and the rest of its source-preserving abilities come from tracking line/col numbers.
I could write a whole post about how why such a design doesn't scale