Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext/Xtend in C Language
Xtext/Xtend in C Language [message #1738665] Fri, 22 July 2016 03:18 Go to next message
chris yo is currently offline chris yoFriend
Messages: 146
Registered: February 2013
Senior Member
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 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
> 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


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Serialize cross-reference in stand-alone mode
Next Topic:Xtext Cell Editor
Goto Forum:
  


Current Time: Fri Apr 19 22:59:53 GMT 2024

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

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

Back to the top