www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Clang-based service architecture

reply Guillaume Chatelet <chatelet.guillaume gmail.com> writes:
Google by the voice of Chandler Carruth made this proposal a few days ago

https://plus.google.com/u/0/108216155797501293389/posts/WDheftEoxMT

It aims at building a clang daemon to parse, compile, and generate
informations about source code. Basically
+ multithreaded, distributed compilation
+ coherent support of the language (C/C++/ObjC) throughout IDEs or text
editors ( formatting, syntax highlight, realtime report of compilation
errors/warning, maybe static analysis )

The D community already is moving toward this direction as I can see (
Roman D. Boiko's proposal or Robert Schadek "Distributed Multithreaded
Caching D Compiler" ) and that's awesome news !

Also the idea of getting compiler error/warning, formatting, syntax
highlight as a service looks very sweet to me. A wonderful way to unite
and keep everything in sync from text editor to more powerful IDEs.
Jun 18 2012
parent "Roman D. Boiko" <rb d-coding.com> writes:
On Tuesday, 19 June 2012 at 06:34:00 UTC, Guillaume Chatelet 
wrote:
 Google by the voice of Chandler Carruth made this proposal a 
 few days ago

 https://plus.google.com/u/0/108216155797501293389/posts/WDheftEoxMT

 It aims at building a clang daemon to parse, compile, and 
 generate
 informations about source code. Basically
 + multithreaded, distributed compilation
 + coherent support of the language (C/C++/ObjC) throughout IDEs 
 or text
 editors ( formatting, syntax highlight, realtime report of 
 compilation
 errors/warning, maybe static analysis )

 The D community already is moving toward this direction as I 
 can see (
 Roman D. Boiko's proposal or Robert Schadek "Distributed 
 Multithreaded
 Caching D Compiler" ) and that's awesome news !

 Also the idea of getting compiler error/warning, formatting, 
 syntax
 highlight as a service looks very sweet to me. A wonderful way 
 to unite
 and keep everything in sync from text editor to more powerful 
 IDEs.

See also Roslyn from Microsoft. DCT project will have a similar architecture.
Jun 19 2012