Generating c code with xtext [message #1266423] |
Fri, 07 March 2014 07:39  |
Eclipse User |
|
|
|
Hello all,
I want to generate c code from a dsl.
I can't find somewhere resources that shows a way to generate something following my
requirements which I will analyse in the following lines.
In the following lines I will give more informations:
Lets say that I have the following dsl program.
a; b; c; //three statements
and for those statements I want to generate an other program with the statements
A; B; C. And I want this file to have an extention ".c".
How can I do that?
What I sould write where the dots are?
override void doGenerate(Resource resource, IFileSystemAccess fsa) {
// fsa.generateFile(..........???????..............)
}
Thanks.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08138 seconds