Unknown W. Brackets wrote:
Of course, I'm sure a better API could be devised. This sort of format,
if properly standardized, could be used to make IDEs much more
efficient. It would also allow for much better and more accurate error
reporting, and the compiler could be loaded as a shared object so that
initialization cost would be low.
Most language services for Visual Studio are essentially a large part of
the compiler (often reimplemented in C# or some such) without the code
generation. It seems like such a silly and obvious waste to me.
That's why Ddoc is part of the compiler, so it can get the syntax
highlighting right.