BNF grammar for D?

Jeremy Powers via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 27 16:12:10 PDT 2014


> Glad to see you turned up here.

I'm usually lurking around...


> I agree, but integrating something external with IntelliJ's platform seems
> like kind of a PITA. It looks like a lot of stuff makes heavy use of PSI
> trees (see: https://confluence.jetbrains.com/display/IDEADEV/
> Developing+Custom+Language+Plugins+for+IntelliJ+IDEA#
> DevelopingCustomLanguagePluginsforIntelliJIDEA-ImplementingaParserandPSI)
>
> I'm no expert in developing IntelliJ plugins either though...
>

The totally-not-thought-out idea I had was to have the IntelliJ tree map to
the results of libdparse.  So each AST (or PSI) call is just a front for
the info provided by libdparse (with caching etc).  Then all the work
shifts away from writing a parser to writing the hairy integration bits.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141027/698851d4/attachment.html>


More information about the Digitalmars-d mailing list