BNF grammar for D?

Bruno Medeiros via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 31 04:41:58 PDT 2014


On 27/10/2014 22:06, landaire wrote:
> I'm trying to make a plugin for IntelliJ IDEA to support D
> (https://github.com/landaire/intelliD is what I have now utilizing DDT's
> lexer) but a lot of what's required to add advanced features like code
> folding, code completion, etc. is generally autogenerated by JetBrains's
> Grammar Kit plugin which only generates that stuff from a BNF grammar.

Nice to hear someone re-using DDT's DTool code for another tool. (it's 
called DTool BTW, not plugin_tooling - that's just the directory :P )

 From https://github.com/landaire/intelliD:
"Backported to JDK 6 as the module made heavy use of JDK 7 and JDK 6 or 
lower is required for IntelliJ plugin development"

WUT?? That is so backwards... I even have a hard time believing that. 
(I'm no IntelliJ expert so I don't know for sure what is the case). But 
JDK 6 is getting quite old, 7 has been out for some time now, and is 
already superseded by 8 (and 9 is being concocted as we speak - the pace 
of Java changes has picked up now that Oracle took charge)

Are you really *sure* you can't write IntelliJ plugins with Java code 
using JDK 7 and above? IntelliJ is supposed to be Java IDE that is all 
fresh and up-to-date! (As opposed to Eclipse, whose code base has 
stagnated, I readily admit that, ;'( )

-- 
Bruno Medeiros
https://twitter.com/brunodomedeiros


More information about the Digitalmars-d mailing list