Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » adding support for a new language, needing help for AST
adding support for a new language, needing help for AST [message #214723] Sat, 09 June 2007 13:18 Go to next message
Eclipse UserFriend
Originally posted by: sebastien.kirche.no.spam.free.fr.invalid

Hi,

I am newcomer to Eclipse, while already developer for many years. I was
recently amazed by navigation, content assist and refactoring features
and I would try to make a plugin to support a new language (new to
eclipse I mean) because the original language IDE sucks (i am talking of
PowerBuilder).

I have compiled a bunch of documentation, including the eclipse 3 FAQ,
some of the tutorials about creating a new plugin editor (the xml
sample), about creating a basic editor and the very instructive series
of articles about building a CDT based editor (by Matthew Scarpino, from
the IBM repository). But feel that I can't base my work on JDT or CDT
because my language is not java or c-like. It resembles to visual basic.

I have understood that if I want features like outline view, syntax
coloring, help and content assist I need an AST. That is not a problem
as I am working on the language grammar with Antlr and I have already
some lexers / parsers for simple languages. Antlr can also create AST
generator from the grammar.

My problem is to have some help / pointers about the connection of the
Antlr generated classes to the editor plugin skeleton.

If it is not the best group for my question, feel free to redirect,
eclipse.tools.pdt might be a better place ?

Thanks for help.
--
Sébastien Kirche
Re: adding support for a new language, needing help for AST [message #214731 is a reply to message #214723] Sat, 09 June 2007 13:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------010104010504080708010500
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

S
Re: adding support for a new language, needing help for AST [message #214739 is a reply to message #214731] Sat, 09 June 2007 14:39 Go to previous message
Eclipse UserFriend
Originally posted by: sebastien.kirche.no.spam.free.fr.invalid

At 15:31 on jun 9 2007, Ed Merks said :

> Sébastien,
>
> The SAFARI work presented at EclipseCon would provide a good starting
> point for this type of thing.
>
> http://www.eclipsecon.org/2007/index.php?page=sub/&id=37 59
> < http://www.eclipsecon.org/2007/index.php?page=sub/&id=37 59>
>
> These folks are working towards submitting an Eclipse project proposal
> soon, so you might want to contact Robert directly.

Yes, while roaming for eclipse documentation, language support, etc I
have found mentions about the SAFARI project that actually sound exactly
like the framework I need to build a new language IDE. I have notably
noticed the mentions about the parser assistant or the possibility to
use a customer grammar / parser.

Alas, I have tried to contact Mr Fuhrer by means of the IBM contact form
to ask about obtaining safari software as it is not yet available to
public but I have no feedback many days after... :(

> There is also this work being done which is likely relevant, so you
> might want to contact Miguel:
>
> http://eclipse-soc.blogspot.com/2007/05/status-ide-generator -miguel-garcia.html

If I understand correctly (btw english is not my mother language), this
is a work in progress of an ide generator in the context of a summer of
code project ? I wonder if it is not way too generic to let me build my
own editor ? But I will look that closer.

Anyway, may thanks for your quick answer.
--
Sébastien Kirche
Previous Topic:How can I get the start date/time of the current Eclipse session
Next Topic:performance problems on Mac OS X
Goto Forum:
  


Current Time: Sun May 12 15:51:06 GMT 2024

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

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

Back to the top