feasiblity of a language plugin

Hey,

I've spent the last week or two working on a language plugin for D . As i get further and further, i'm curious if it's actually possible to do everything i want within IntelliJ. I've worked through a lot of the issues with creating a jdk matching a DMD installation and creating a D module. I've gotten it to the point where it will call my TranslatingCompiler for .d files, which i haven't implemented yet. I'm looking into the rest of the compile/build infrastructure and i'm worried that i won't be able to make it support a non-java-class compiled language, including a separate linking step. I have the same concern for integrating a binary application into the debugger framework.

So, to save me from banging my head against a wall for the next month trying to figure out if it's possible, I'm hoping somebody else would know already. Any thoughts/comments/suggestions? Thanks.

2 comments
Comment actions Permalink

Hello Bryan,

Hey,

I've spent the last week or two working on a language plugin for D
. As i get further and further,
i'm curious if it's actually possible to do everything i want within
IntelliJ. I've worked through a lot of the issues with creating a jdk
matching a DMD installation and creating a D module. I've gotten it
to the point where it will call my TranslatingCompiler for .d files,
which i haven't implemented yet. I'm looking into the rest of the
compile/build infrastructure and i'm worried that i won't be able to
make it support a non-java-class compiled language, including a
separate linking step. I have the same concern for integrating a
binary application into the debugger framework.

So, to save me from banging my head against a wall for the next month
trying to figure out if it's possible, I'm hoping somebody else would
know already. Any thoughts/comments/suggestions? Thanks.


Debugging for non-JVM languages is not supported at all in version 7. We
have implemented a cross-language debugging framework in version 8, and it's
available in the EAP builds, so it's best to target version 8 right from
the start if you want to support debugging.

The compiler should be quite easy to integrate - the existing compiler chain
is mostly designed for Java, but you can plug the entire D compilation process
(linking and all) as a single step in the compiler chain.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

thanks Dmitry. you've renewed my interest.

0

Please sign in to leave a comment.