beginner question [message #1007706] |
Thu, 07 February 2013 08:26 |
Claudio Persico Messages: 24 Registered: November 2012 |
Junior Member |
|
|
Hi to everyone,
I'm totally new to Xtext and I'm not sure if it's suited for my need.
I have a structured comma separated value file with strings and numbers like this:
["string1", 10,5,1,4]
["string2", 5,6,1,9]
etc etc.
I also have an ECORE metamodel that represents these information.
I would like to extract the information from the textual file and create an ecore model conforming to the metamodel I have.
Is it possible to do this feature with Xtext?
If yes, what can I read about?
Thanks in advance,
Claudio
|
|
|
|
|
|
|
|
Re: beginner question [message #1007980 is a reply to message #1007706] |
Fri, 08 February 2013 09:01 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
Look for 'generated ecore model' in the Xtend docs
http://www.eclipse.org/Xtext/documentation.html#metamodelInference
Am 07.02.13 09:26, schrieb Claudio Persico:
> Hi to everyone,
>
> I'm totally new to Xtext and I'm not sure if it's suited for my need.
>
> I have a structured comma separated value file with strings and numbers
> like this:
>
> ["string1", 10,5,1,4]
> ["string2", 5,6,1,9]
> etc etc.
>
> I also have an ECORE metamodel that represents these information.
>
> I would like to extract the information from the textual file and create
> an ecore model conforming to the metamodel I have.
>
> Is it possible to do this feature with Xtext?
> If yes, what can I read about?
>
> Thanks in advance,
> Claudio
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
---
Get professional support from the Xtext committers at www.typefox.io
|
|
|
Powered by
FUDForum. Page generated in 0.04352 seconds