|
|
|
|
|
by Yoric
3221 days ago
|
|
For context: position mapping is somewhere on our radar, but we haven't reached a stage at which it would make sense to start working on it yet. If you have ideas and/or spare cycles, of course, they are welcome :) As a side-note: I believe that we could build upon the (very early) proposed mechanism for comments to also store positions. Size-optimized BinAST files would drop both comments and positions, while debugging-optimized BinAST files would keep both at the end of the file so as to not slow down parsing until they are needed. |
|
If you can point me to the best place to suggest ideas or spend my spare cycles, I would gladly do so. At the very least, I can comment on how we serialize positions in the (tree-based) Scala.js IR, which is size-optimized.