On Saturday, 26 January 2013 at 08:22:39 UTC, Rainer Schuetze
wrote:
On 25.01.2013 21:34, Jacob Carlborg wrote:
On 2013-01-25 20:00, alex wrote:
I already suggested Rainer to make a native/non-native
interface between
VisualD and D_Parser - this will probably happen via COM or
so.. and I
dunno anything about that technique. I just can make sure
that the
parser library is fully stand-alone, only depending on .net
internals.
Let's see :)
It should provide an C interface, then it can be connected to
anything.
COM is the natural choice when interfacing native code on
Windows with C#. On other platforms it might be different.
The semantic engine in Visual D is separated into another
process and communicates with the IDE plugin through a number
of "commands", just using this interface:
https://github.com/rainers/visuald/blob/master/vdc/ivdserver.d
. This can easily be mapped to C calls.
There's also an implementation of that interface using D_Parser
(https://github.com/rainers/visuald/tree/master/vdc/abothe),
but it isn't complete yet.
Concerning completion server...why not a completion server? :D -
I mean, it'll be launched as soon as VisualD launches..and then
you can pipe-through commands etc. to interact like it's done the
mspdbsrv already. That's imho even easier than using COM + can be
driven even as a web server..which would be a real dream then!