D for XCode 1.0b1
October 22nd, 2007 | by Aldacron |Mac users rejoice! Michel Fortin has released a D plugin for XCode. From the NG:
Basically, it does the following:
* It adds to Xcode the GDC D compiler and the appropriate build rules
so that D source files are recognised and are as easy to compile as
C, C++, and Objective-C ones. Once you’ve added a D source file to a
project or target, options specific to the D compiler will apear in
the build settings.* It allows Xcode to track dependencies between files (by looking for
`import` declarations) and automatically recompile files when a
dependency has been modified.* It allows the Xcode debugger to work with D files: setting breakpoints
and stepping thru the code works as you’d expect it.* It provides “perfect” syntax highlighting using the lexer from
Digital Mars’ D front end.* It populates the Code Sense editor function popup with functions,
classes, and some other constructs the D front end parser can find
in your D source file.The plugin works on Mac OS X 10.4.10, with Xcode 2.4.1. I have no idea how it performs on the very-soon-to-be-released Mac OS X 10.5 Leopard (which has Xcode 3). I do not expect it to work unmodified though.
He says it is inspired by another D plugin for XCode by Alan West and uses the XCode plugin interface documented by Damien Bobillot.
I’ve not yet joined the ranks of Mac users, so no feedback from me. But so far, this has gotten positive responses in the NG.
Technorati Tags: D Programming Language, XCode, Mac