Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » IDE development How to link Parser and editor together
IDE development How to link Parser and editor together [message #1298870] Wed, 16 April 2014 15:13 Go to next message
André Ramos is currently offline André RamosFriend
Messages: 8
Registered: April 2014
Junior Member
Hi!
I have completed a parser for my language using javaCC.
I would like now to start working on the editor, but i dont know how can i check things like errors and enable code completion.
How can i use my parser to help the editor do these stuffs?

Tks for your attetion i will be waiting for your reply.

My regards, Ramos
Re: IDE development How to link Parser and editor together [message #1299895 is a reply to message #1298870] Thu, 17 April 2014 07:22 Go to previous messageGo to next message
Jan Reimann is currently offline Jan ReimannFriend
Messages: 127
Registered: July 2009
Senior Member
You could use EMFText (www.emftext.org) to let you generate a parser and
an editor with complete tooling (code completion, syntax highlighting,
code navigation,...) based on a grammar.
I know that you implemented the parser on your own but maybe it's worth
having a look.

cheers,
Jan

André Ramos wrote:
> Hi!
> I have completed a parser for my language using javaCC.
> I would like now to start working on the editor, but i dont know how can
> i check things like errors and enable code completion.
> How can i use my parser to help the editor do these stuffs?
>
> Tks for your attetion i will be waiting for your reply.
>
> My regards, Ramos
Re: IDE development How to link Parser and editor together [message #1299968 is a reply to message #1299895] Thu, 17 April 2014 08:29 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1395
Registered: July 2009
Senior Member
On 17/04/2014 09:22, Jan Reimann wrote:
> You could use EMFText (www.emftext.org) to let you generate a parser and
> an editor with complete tooling (code completion, syntax highlighting,
> code navigation,...) based on a grammar.
> I know that you implemented the parser on your own but maybe it's worth
> having a look.
>

You may also want to have a look at Xtext http://www.eclipse.org/Xtext/

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
Previous Topic:How can I change title bar name?
Next Topic:How to show view's title in a perspective?
Goto Forum:
  


Current Time: Wed Nov 26 11:54:45 GMT 2014

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

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