Help me get GDC as a syntax checker option for Flycheck

ketmar via D.gnu d.gnu at puremagic.com
Sat Nov 15 05:47:25 PST 2014


On Sat, 15 Nov 2014 13:39:52 +0000
"Koz Ross via D.gnu" <d.gnu at puremagic.com> wrote:

> First-off, I would like to thank everyone who made GDC - as a 
> supporter of free software, it's good to have a compiler that 
> doesn't have a proprietary back-end for a language I like as much 
> as D.
> 
> Now, I'm an avid Emacs user, and as part of that, I use Flycheck 
> for syntax checking. The default syntax checker for Flycheck 
> (which relies on external programs) is DMD. Not being happy with 
> this state of affairs, I decided to write some Elisp to allow GDC 
> to be used instead, and I'm happy to say that it works.
> 
> Obviously, in the spirit of sharing and helping others, I would 
> like my checker code to be included into Flycheck. However, the 
> maintainer of Flycheck basically said that, unless given concrete 
> reasons *other* than licensing, he would not include it.
> 
> Now, I'm not too familiar with the linting/error reporting 
> capabilities of GDC as opposed to DMD, and would like some help 
> in this regard. If any of you could tell me any benefits to 
> linting, error-checking or anything similar in GDC as opposed to 
> DMD, I would be very grateful, and it would help support a free 
> software compiler in a very good Emacs package.
> 
> Thank you in advance.
as GDC and DMD both using the same backend (despite the version
differences, of course), there is nothing that one of them doing better
than other.

but the license issue *matters*. there is no fsckin' chance, for
example, for DMD to be included in something except "non-free"
repository for distro. so not allowing GDC is a blocker for those who
prefers only FOSS software. if flycheck author can't grok this, it's a
perfect reason to drop flycheck, as a tool that is hostile to FOSS.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20141115/ec6e357b/attachment.sig>


More information about the D.gnu mailing list