4 ms·
so I would have something on L249 and you would have it on L321? nonsense.
by zalew 14y ago
so I would have something on L249 and you would have it on L321? nonsense.
- wladimir 14y agoYeah, you'd likely need some other way to refer so a position in the code than the line number. Maybe an anchor (like html) or a path in the syntax tree.
- cstuder 14y agoThese tools already exist: JavaScript tools like minfiers or CoffeeScript can generate source maps which map code lines from one format to code lines in another format. http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/ http://www.html5rocks.com/en/tutorials/developertools/source...
- zalew 14y agobut they are used for debugging, not bi-directional transformation between two incompatible sources.