Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » UML-Profile -> Xtext Grammar
UML-Profile -> Xtext Grammar [message #487480] Wed, 23 September 2009 11:48 Go to next message
Ilyas Keser is currently offline Ilyas KeserFriend
Messages: 85
Registered: July 2009
Member
Hi,

I am thinking about how to generate a Xtext grammar from an UML profile. I wonder, whether you have any idea or some example to start from?

Thanks,
ILyas
Re: UML-Profile -> Xtext Grammar [message #487531 is a reply to message #487480] Wed, 23 September 2009 14:26 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Ilyas,

I'm not aware of such an example but I'ld try to go with a m2t
transformation and generate the grammar as plain text from the profile
model.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Ilyas Keser schrieb:
> Hi,
>
> I am thinking about how to generate a Xtext grammar from an UML profile.
> I wonder, whether you have any idea or some example to start from?
>
> Thanks,
> ILyas
Re: UML-Profile -> Xtext Grammar [message #1238176 is a reply to message #487531] Fri, 31 January 2014 15:21 Go to previous message
Salome Maro is currently offline Salome MaroFriend
Messages: 15
Registered: January 2014
Junior Member
What kind of m2t transformation would that be? can you elaborate a bit? what would be the source of the transformation? The whole UML Metamodel or the UML Profile? or both?

I have a similar problem where I have a UML profile and need to generate Xtext grammar from this.

Was also thinking if there is a way to get an ecore that will contain both the UML Metamodel plus my profile and then generate the xtext grammar from the ecore file but I am not sure if there is a way to do that.
If you know anything more please share. Shocked
Previous Topic:org.eclipse.swt.SWTException: Invalid thread access in AbstractContentAssistProcessorTest
Next Topic:Get XtextResource from IProject
Goto Forum:
  


Current Time: Thu Apr 18 16:46:27 GMT 2024

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

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

Back to the top