Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Implementation of the Eclipse-based IDE for the imperative language
Implementation of the Eclipse-based IDE for the imperative language [message #528501] Tue, 20 April 2010 17:59 Go to next message
Sergey  is currently offline Sergey
Messages: 2
Registered: April 2010
Junior Member
Hi all!!

I want to implement an IDE for small imperative language. This language has loops, conditionals, objects and is strongly typed. Compiler to C is already implemented in java.

What I would like to implement is syntax coloring, code navigation, code completion and debugger.

I studied "Building commecial quality plugins" by Clayberg and Rubel and have experience with Eclipse platform development, mainly RCP.

Ideally, I would like to walk some tutorial solving similar task. Or I could explore the source code of simple IDE for the small imperative language. I tried pydev but it looks complicated. Maybe you know open-source Eclipse-based IDE for the small language like BASIC or something?

Thanks in advance!

Sergey
Re: Implementation of the Eclipse-based IDE for the imperative language [message #528583 is a reply to message #528501] Wed, 21 April 2010 07:45 Go to previous message
Jan Reimann is currently offline Jan Reimann
Messages: 127
Registered: July 2009
Senior Member
Hi Sergey,
I can recommend a framework which gives you syntax coloring, code
navigation, code folding, code completion for you. Have a look at
http://www.emftext.org
You just have to create a metamodel using Ecore and declare a syntax for
you language. After that you generate the needed code and then can
extend the abstract interpreter for imlementing your own. Or you can
just write a compiler. The clue is that you have an underlying model
(i.e. an abstract syntax tree) which you can traverse and evaluate as
you need. And if you want to build up a really little IDE I recommend
another framework. With the following link you can easy activate
refactorings for your language of choice:
http://www.emftext.org/refactoring/
The only thing which is left now is the debugger ;)

best regards,
Jan

> I want to implement an IDE for small imperative language. This language
> has loops, conditionals, objects and is strongly typed. Compiler to C is
> already implemented in java.
>
> What I would like to implement is syntax coloring, code navigation, code
> completion and debugger.
>
> I studied "Building commecial quality plugins" by Clayberg and Rubel and
> have experience with Eclipse platform development, mainly RCP.
>
> Ideally, I would like to walk some tutorial solving similar task. Or I
> could explore the source code of simple IDE for the small imperative
> language. I tried pydev but it looks complicated. Maybe you know
> open-source Eclipse-based IDE for the small language like BASIC or
> something?
>
> Thanks in advance!
>
> Sergey
>
Previous Topic:Building an Eclipse Plugin (depending on another Eclipse Plugin) using Maven
Next Topic:Implementation of the Eclipse-based IDE for the imperative language
Goto Forum:
  


Current Time: Sat Oct 25 03:44:50 GMT 2014

Powered by FUDForum. Page generated in 0.01557 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software