by oaiey · 7y ago · 0 comments
My question is: are there any compiler which predate Roslyn in this aspect? Anders Heijlsberg said in a video once, that this is modern compiler architecture (compared to the outdated Dragon and Tiger) but did not mention that the Roslyn team invented it.
Another earlier example of successful incremental technology was the Java compiler in Eclipse.
I'm sure there are academic efforts as well, but don't know as much about these.
Note that “incremental parsing” is a nice to have, but is not required for IDEs. What is required are lazy name resolution and lazy type inference.
Well, I think you need incremental compilation of you want to a achieve the performance in the ms range an editor needs.