Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » How to generate/modify c code from XML?
How to generate/modify c code from XML? [message #957158] Wed, 24 October 2012 23:11 Go to next message
Forrest Zhao is currently offline Forrest Zhao
Messages: 3
Registered: October 2012
Junior Member
Hi,

For my SDK project I use GEF to create a GUI editor, then SDK user could use GUI editor to describe the object relation and generate the XML file.

For the next step I need to
1 generate c code from this XML file
2 modify the c code automatically after user modify the UI, thus XML file

Could the expert advise on which M2T project (JET, Acceleo, Xpand) I should use to achieve this goal?

Thanks,
Forrest
Re: How to generate/modify c code from XML? [message #957332 is a reply to message #957158] Thu, 25 October 2012 02:38 Go to previous message
Forrest Zhao is currently offline Forrest Zhao
Messages: 3
Registered: October 2012
Junior Member
I found the guide at http://wiki.eclipse.org/Acceleo/Getting_Started. It demonstrate how to generate Java code from UML.

Is there an example to demonstrate the generation of C code from XML? Or could give some clues on this?
Previous Topic:(Xpand) How to access ecore.ecore via Xpand code
Next Topic:[Acceleo] JMerge tags with standalone generator
Goto Forum:
  


Current Time: Thu Apr 17 08:43:07 EDT 2014

Powered by FUDForum. Page generated in 0.02086 seconds