News for hackers. Stuff that matters.
Re:How Microsoft rewrote its C# compiler in C# and made it o... by _hardwaregeek on Tuesday February 11, 2020 @04:51PM (#22303306)
I'm not sure to be honest. I suspect most parse trees preserve most of the info but not up to bijection. For instance, Ruby has ways of taking the Ripper output and generating source text but there's no guarantee that this output will be precisely the original source text. After all, the parser would need to distinguish between spaces and tabs and store them as tokens to reproduce the text fully.

There are no comments on this comment yet.