Can I create GPL + DSL by XTEXT [message #54092] |
Tue, 30 June 2009 00:58  |
Eclipse User |
|
|
|
Hi,
I am new to the Xtext technology, so any help would be appriciated
regarding my query.
My project have DSL which is simillar to C language with some additional
keywords.
My question is can I use xtext framework to add grammar for these
additional keywords with already provided CDT framework?
And also please tell me the way to achieve this.
So finally my DSL should have file extension like *.xyz which undestand
all C keywords + some additional keywords.
Thanks in advance.
Regards,
Jitendra
|
|
|
Re: Can I create GPL + DSL by XTEXT [message #54119 is a reply to message #54092] |
Tue, 30 June 2009 02:28  |
Eclipse User |
|
|
|
Hi Jitendra,
compared to the CDT Xtext uses a completely different technology stack.
That's why it is not possible to enhance the CDT editor and tooling with
Xtext.
You may try to implement the complete grammar of your C-like language
with Xtext but this would be a challenging task if you want to reflect C
with all of it's complexity. It is definitely easier to implement only a
subset of C including your own keywords. If that is sufficient Xtext
will be a very good choice to get a nice editor and tooling. The
framework greatly simplifies common tasks in language development.
Please feel free to ask any further questions,
Sebastian
Am 30.06.2009 6:58 Uhr, schrieb Jitendra:
> Hi,
>
> I am new to the Xtext technology, so any help would be appriciated
> regarding my query.
>
> My project have DSL which is simillar to C language with some additional
> keywords.
>
> My question is can I use xtext framework to add grammar for these
> additional keywords with already provided CDT framework? And also please
> tell me the way to achieve this.
>
> So finally my DSL should have file extension like *.xyz which undestand
> all C keywords + some additional keywords.
>
> Thanks in advance.
>
> Regards,
> Jitendra
>
|
|
|
Powered by
FUDForum. Page generated in 0.02978 seconds