|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
| Jan Reimann
Registered: July 2009
I can recommend a framework which gives you syntax coloring, code
navigation, code folding, code completion for you. Have a look at
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:
The only thing which is left now is the debugger ;)
> 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
> Thanks in advance!
Powered by FUDForum
. Page generated in 0.01686 seconds