Xtext/Xtend in C Language [message #1738665] |
Fri, 22 July 2016 03:18  |
Eclipse User |
|
|
|
I have an Xtext grammar, and Xtend generator class that is converted to Java during build.
Normally, Xtext grammar are converted to Java class in src-gen, and the Xtend classes are converted to Java classes in xtend-gen.
I have read in the user guide that its possible to compile the Xtext to any existing platform.
May I know how to let Xtext and Xtend build with C language, instead of the default Java?
|
|
|
Re: Xtext/Xtend in C Language [message #1738667 is a reply to message #1738665] |
Fri, 22 July 2016 05:08  |
Eclipse User |
|
|
|
> I have read in the user guide that its possible to compile the Xtext to
> any existing platform.
This means: xtext Generators generate Text so YOU can write a Generator
that generates C code which makes more sense for yourdsl than for xtend.
The generator impl as well as your dsl impl will of course still be written
and executed with Java
|
|
|
Powered by
FUDForum. Page generated in 0.06625 seconds