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 11:13 Go to next message
André Ramos is currently offline André Ramos
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 03:22 Go to previous messageGo to next message
Jan Reimann is currently offline Jan Reimann
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 04:29 Go to previous message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1307
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:Problems to new project wizard
Next Topic:How to show view's title in a perspective?
Goto Forum:
  


Current Time: Tue Jul 29 10:59:19 EDT 2014

Powered by FUDForum. Page generated in 0.02181 seconds