Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Source to Source transformation with epsilon
Source to Source transformation with epsilon [message #1075591] Mon, 29 July 2013 17:51 Go to next message
kwaku sandy is currently offline kwaku sandyFriend
Messages: 12
Registered: July 2013
Junior Member
I'm a complete beginner to epsilon so need help here.
I'm trying to do a source to source transformation (i.e a text to text transformation, e.g .somelanguage1 to .somelanguage2).
First question is, can i do this with epsilon and if i can, what will be the workflow.
From the little i've read from the epsilon book and website, i can do model-model transformation with ETL and then model-text transformation(code-generation) with EGL.
My question is how do i translate my text-model.
This is what i think the workflow should look like:

Text-Model(???) -> Model-Model(ETL) -> Model-Text(EGL)

How do i perform the first step i.e. the question mark ???

If epsilon is not the right language for my task, what do you recommend.

Your response is much appreciated.
Thanks a lot.
Re: Source to Source transformation with epsilon [message #1075608 is a reply to message #1075591] Mon, 29 July 2013 18:33 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi,

For the text-to-model part of your workflow you could try Xtext [1] or EMFText [2]. Both of these parse text into EMF resources so they will work fine with ETL/EGL.

Cheers,
Dimitris

[1] http://www.xtext.org
[2] http://www.emftext.org/
Re: Source to Source transformation with epsilon [message #1075693 is a reply to message #1075608] Mon, 29 July 2013 22:11 Go to previous message
kwaku sandy is currently offline kwaku sandyFriend
Messages: 12
Registered: July 2013
Junior Member
Thanks a lot Dimitris. I will try and let you know how it goes.

[Updated on: Mon, 29 July 2013 22:12]

Report message to a moderator

Previous Topic:[EPL] Cannot find meta-class
Next Topic:Run configurations
Goto Forum:
  


Current Time: Thu Apr 25 14:57:00 GMT 2024

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

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

Back to the top