Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » XText Parser into DLTK Project(Can I use Xtext parser (which use ANTLR) into my DLTK Project?)
XText Parser into DLTK Project [message #502337] Mon, 07 December 2009 18:13 Go to next message
hachreak  is currently offline hachreak Friend
Messages: 11
Registered: December 2009
Junior Member
Hi at all,
I am new in this forum! Very Happy

I have to create a complete IDE for the recipes. Bb the OpenEmbedded (very similar to. Ebuild Gentoo).
This is an example...

My biggest problem is creating the parser! : - /
I thought it would be nice to use the parser that is generated by a project XText within my IDE project developed with dltk.

Alternatively how you can create a parser in dltk without ANTLR?

thanks for your answers.
. hachreak.
Re: XText Parser into DLTK Project [message #506752 is a reply to message #502337] Sat, 09 January 2010 13:13 Go to previous message
Alex Panchenko is currently offline Alex PanchenkoFriend
Messages: 342
Registered: July 2009
Senior Member
Hi hachreak,

You can use any way to create a parser.
When you generate parser based on grammar the hardest part is to actually create the grammar.
Handling the resulting ANTLR tree is pretty straightforward.

Another approach is just write it by hand. The correct way depends on if you want support all shell commands, or only the parts specific for recipes

Regards,
Alex
Previous Topic:Integrating DLTK in a RCP application
Next Topic:Problem with syntax highlighting preference page
Goto Forum:
  


Current Time: Mon Nov 24 02:59:11 GMT 2014

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

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