On 21/05/14 11:59, Max Barraclough wrote:
I assumed we were talking about using the frontend as a means to enable syntax-highlighting and such, rather than simple invocation of the DMD compiler, which of course wouldn't be a problem.
I assumed we weren't, since it's not really made for that. It would take a lot of work to make DMD useable as a library.
XCode uses its own C/C++/Objective-C/Objective-C++ parser then, I take it?
Yes, now days it uses libclang. It still compiles the code by invoking the compiler in an external process. Which could be GCC or Clang.
-- /Jacob Carlborg