www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Intellij Plugin For D2

reply "Kingsley" <kingsley.hendrickse gmail.com> writes:
Hi,

I have started work on an intellij plugin for D2. I only started 
learning D a few weeks ago but feel I will enjoy the experience 
more in my favourite editor.

I'll be aiming to complete the plugin over the next month.

The code is here: https://github.com/kingsleyh/DLanguage

I know there are a few other people trying to write an intellij 
plugin - but I'm doing this also as a learning experience so 
creating the BNF grammar and Flex lexer by hand to better 
understand the D language rather than re-using the parser/lexer 
from DDT or another project.

If you are interested in helping out please let me know - or if 
you are just interested in using it and want to suggest features.

Thanks

--Kingsley
Dec 15 2014
next sibling parent reply "Brian Schott" <briancschott gmail.com> writes:
On Monday, 15 December 2014 at 11:03:29 UTC, Kingsley wrote:
 Hi,

 I have started work on an intellij plugin for D2. I only 
 started learning D a few weeks ago but feel I will enjoy the 
 experience more in my favourite editor.

 I'll be aiming to complete the plugin over the next month.

 The code is here: https://github.com/kingsleyh/DLanguage

 I know there are a few other people trying to write an intellij 
 plugin - but I'm doing this also as a learning experience so 
 creating the BNF grammar and Flex lexer by hand to better 
 understand the D language rather than re-using the parser/lexer 
 from DDT or another project.

 If you are interested in helping out please let me know - or if 
 you are just interested in using it and want to suggest 
 features.

 Thanks

 --Kingsley
I'm writing a code generator for D to help debug D parsers. You may find it useful for testing your plugin: https://github.com/Hackerpilot/generated. It still occasionally generates invalid code, but I plan on fixing the remaining bugs over the next few days. You may also find this useful as a reference: https://github.com/Hackerpilot/libdparse
Dec 15 2014
parent "Kingsley" <kingsley.hendrickse gmail.com> writes:
On Tuesday, 16 December 2014 at 00:20:33 UTC, Brian Schott wrote:
 On Monday, 15 December 2014 at 11:03:29 UTC, Kingsley wrote:
 Hi,

 I have started work on an intellij plugin for D2. I only 
 started learning D a few weeks ago but feel I will enjoy the 
 experience more in my favourite editor.

 I'll be aiming to complete the plugin over the next month.

 The code is here: https://github.com/kingsleyh/DLanguage

 I know there are a few other people trying to write an 
 intellij plugin - but I'm doing this also as a learning 
 experience so creating the BNF grammar and Flex lexer by hand 
 to better understand the D language rather than re-using the 
 parser/lexer from DDT or another project.

 If you are interested in helping out please let me know - or 
 if you are just interested in using it and want to suggest 
 features.

 Thanks

 --Kingsley
I'm writing a code generator for D to help debug D parsers. You may find it useful for testing your plugin: https://github.com/Hackerpilot/generated. It still occasionally generates invalid code, but I plan on fixing the remaining bugs over the next few days. You may also find this useful as a reference: https://github.com/Hackerpilot/libdparse
Hey Brian, Thanks that information looks really useful. I'll let you know if I run into any bugs.
Dec 16 2014
prev sibling parent reply "Daniel Kozak" <kozzi11 gmail.com> writes:
On Monday, 15 December 2014 at 11:03:29 UTC, Kingsley wrote:
 Hi,

 I have started work on an intellij plugin for D2. I only 
 started learning D a few weeks ago but feel I will enjoy the 
 experience more in my favourite editor.

 I'll be aiming to complete the plugin over the next month.

 The code is here: https://github.com/kingsleyh/DLanguage

 I know there are a few other people trying to write an intellij 
 plugin - but I'm doing this also as a learning experience so 
 creating the BNF grammar and Flex lexer by hand to better 
 understand the D language rather than re-using the parser/lexer 
 from DDT or another project.

 If you are interested in helping out please let me know - or if 
 you are just interested in using it and want to suggest 
 features.

 Thanks

 --Kingsley
Good job so far :)
Dec 16 2014
parent "Kingsley" <kingsley.hendrickse gmail.com> writes:
On Tuesday, 16 December 2014 at 10:07:16 UTC, Daniel Kozak wrote:
 On Monday, 15 December 2014 at 11:03:29 UTC, Kingsley wrote:
 Hi,

 I have started work on an intellij plugin for D2. I only 
 started learning D a few weeks ago but feel I will enjoy the 
 experience more in my favourite editor.

 I'll be aiming to complete the plugin over the next month.

 The code is here: https://github.com/kingsleyh/DLanguage

 I know there are a few other people trying to write an 
 intellij plugin - but I'm doing this also as a learning 
 experience so creating the BNF grammar and Flex lexer by hand 
 to better understand the D language rather than re-using the 
 parser/lexer from DDT or another project.

 If you are interested in helping out please let me know - or 
 if you are just interested in using it and want to suggest 
 features.

 Thanks

 --Kingsley
Good job so far :)
Thanks :) - I've got the DeeLexer and DeeParser from the eclipse DDT projected integrated with intellij now - so now I'm working on implementing intellij features like finding, navigating, refactoring etc
Dec 23 2014