On Sunday, 10 June 2012 at 18:16:39 UTC, Rainer Schuetze wrote:
I have recently refactored the code so that the parser and the
semantic analysis can run in an different process (a local COM
server). This was mainly to avoid GC stalls within the IDE, but
could also be used to plugin other code for semantic analysis.
The current interface is here:
https://github.com/rainers/visuald/blob/master/vdc/ivdserver.d
Great! This simplifies my task a lot. Interface and
implementation seem to be straightforward. Of course, I'll need
to understand overall design first, but now I have a good
starting point.
Would be nice to know the correct mapping for various
annotations. So
far I tried to mimic code already present in VisualD.
The annotations are usually commented out by the converter to
keep them as documentation. But that means they can still
confuse some conversion rules (e.g. calls to
replaceTokenSequence that contain __nulltermiatated).
I'll try to finish in the same way as I started (commenting them
out), in order to avoid doing changes that I don't understand. If
you will consider the result useful, it should be relatively easy
to fix them for you.