Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Xtext for generic programming language?
Xtext for generic programming language? [message #42014] Tue, 28 April 2009 03:31 Go to next message
Eclipse UserFriend
Hello,

I am not an expert here, so please bear with my ignorance.

My company is planning to write an IDE for large scale programming
language (complex grammar and very large projects), Does XText fit the
bill here, or is it targeted more for small scale DSLs?

What I saw from documentation is that I mainly to provide the grammar
file, which can be created for any language, so can XText (for example) be
used to generate an IDE for C/C++ like CDT, or a Java IDE like JDT? or are
their limitations that makes this approach impractical?

Thanks in advance for your guidance.
Mamado.
Re: Xtext for generic programming language? [message #42107 is a reply to message #42014] Tue, 28 April 2009 06:13 Go to previous messageGo to next message
Eclipse UserFriend
It's not the size of a language which is important but whether things
like semantic or syntactic predicates are neccessary to define the grammar.
Xtext so far does not support semantic or syntactic predicates (like
supported by Antlr).

Regarding the size of the projects, it's not so important how many files
you have, but how big one file is.

Cheers,
Sven

Mamado schrieb:
> Hello,
>
> I am not an expert here, so please bear with my ignorance.
>
> My company is planning to write an IDE for large scale programming
> language (complex grammar and very large projects), Does XText fit the
> bill here, or is it targeted more for small scale DSLs?
>
> What I saw from documentation is that I mainly to provide the grammar
> file, which can be created for any language, so can XText (for example)
> be used to generate an IDE for C/C++ like CDT, or a Java IDE like JDT?
> or are their limitations that makes this approach impractical?
>
> Thanks in advance for your guidance.
> Mamado.
>
Re: Xtext for generic programming language? [message #42633 is a reply to message #42107] Mon, 04 May 2009 04:00 Go to previous messageGo to next message
Eclipse UserFriend
Thanks a lot Sven,

Is there a timeline for that support in Xtext?

Or do you suggest that I use IMP and/or Antlr? Do you know if IMP is still
active?

Thanks again for your help,
Mamado

> It's not the size of a language which is important but whether things
> like semantic or syntactic predicates are neccessary to define the grammar.
> Xtext so far does not support semantic or syntactic predicates (like
> supported by Antlr).

> Regarding the size of the projects, it's not so important how many files
> you have, but how big one file is.

> Cheers,
> Sven

> Mamado schrieb:
>> Hello,
>>
>> I am not an expert here, so please bear with my ignorance.
>>
>> My company is planning to write an IDE for large scale programming
>> language (complex grammar and very large projects), Does XText fit the
>> bill here, or is it targeted more for small scale DSLs?
>>
>> What I saw from documentation is that I mainly to provide the grammar
>> file, which can be created for any language, so can XText (for example)
>> be used to generate an IDE for C/C++ like CDT, or a Java IDE like JDT?
>> or are their limitations that makes this approach impractical?
>>
>> Thanks in advance for your guidance.
>> Mamado.
>>
Re: Xtext for generic programming language? [message #42666 is a reply to message #42633] Mon, 04 May 2009 05:25 Go to previous message
Eclipse UserFriend
Mamado schrieb:
> Is there a timeline for that support in Xtext?

We know at least that we won't add predicates for Galileo.

>
> Or do you suggest that I use IMP and/or Antlr?

No, I suggest to use Xtext as long as your language's syntax does not
require syntactic or semantic predicates. Does it?

Do you know if IMP is
> still active?

Don't know, sorry.

Cheers,
Sven
Previous Topic:Injecting your own implementation of LazyTransformingTreeProvider?
Next Topic:CA shows proposals for second Assignment after cursor position
Goto Forum:
  


Current Time: Tue Jul 22 21:25:25 EDT 2025

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

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

Back to the top