Re:Killing Off Wasabi – Part 2
by munificent on Friday July 17, 2015 @12:00PM
(#9903363)
I think the important bit is to not throw that information away until after you've reported any compile errors. Once you know the code is valid, you can discard that stuff (unless you need it to generate debugging information).
Oh, yes, that's fine. Although by that point you've kind of already spent the time, so it's not going to gain you much by throwing it out.
FYI, for anyone thinking about writing a production compiler front-end, don't do this, it's a terrible idea.