Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Xtext/Xtend in C Language
Xtext/Xtend in C Language [message #1738665] Thu, 21 July 2016 23:18 Go to next message
Eclipse UserFriend
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 01:08 Go to previous message
Eclipse UserFriend
> 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
Previous Topic:Serialize cross-reference in stand-alone mode
Next Topic:Xtext Cell Editor
Goto Forum:
  


Current Time: Sun Mar 16 03:36:28 EDT 2025

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

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

Back to the top