Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » LLVM Suport(Generating LLVM Code)
LLVM Suport [message #1060192] Thu, 23 May 2013 09:00 Go to next message
Suminda Sirinath Salpitikorala Dharmasena is currently offline Suminda Sirinath Salpitikorala Dharmasena
Messages: 1
Registered: July 2009
Junior Member
Hi,

Is it possible to add LLVM development support for Xtext also ability to traslate to other than just Java.

Suminda
Re: LLVM Suport [message #1060357 is a reply to message #1060192] Fri, 24 May 2013 05:29 Go to previous messageGo to next message
Jan Kohnlein is currently offline Jan Kohnlein
Messages: 572
Registered: July 2009
Senior Member
Xtext does not make any assumption on the platform to generate code to.
It just generates text form your models, which is usually compiled by
another compiler.

The generated editor for your Xtext language is based on Eclipse. I am
not an expert, but I think there is support for the LLVM infrastructure
in Eclipse CDT. So everything could be integrated in a single Eclipse IDE.

If you refer to Xbase or Xtend, Java is currently the only supported
target. We rely heavily on Java's typesystem, so adding another target
platform will be a lot of work.


Am 23.05.13 16:10, schrieb Suminda Sirinath Salpitikorala Dharmasena:
> Hi,
>
> Is it possible to add LLVM development support for Xtext also ability to
> traslate to other than just Java.
>
> Suminda


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Re: LLVM Suport [message #1060360 is a reply to message #1060357] Fri, 24 May 2013 05:49 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 4472
Registered: July 2009
Senior Member
There is robovm which takes Java-Class files and translates them to
native binaries using LLVM.

Tom

On 24.05.13 11:29, Jan Koehnlein wrote:
> Xtext does not make any assumption on the platform to generate code to.
> It just generates text form your models, which is usually compiled by
> another compiler.
>
> The generated editor for your Xtext language is based on Eclipse. I am
> not an expert, but I think there is support for the LLVM infrastructure
> in Eclipse CDT. So everything could be integrated in a single Eclipse IDE.
>
> If you refer to Xbase or Xtend, Java is currently the only supported
> target. We rely heavily on Java's typesystem, so adding another target
> platform will be a lot of work.
>
>
> Am 23.05.13 16:10, schrieb Suminda Sirinath Salpitikorala Dharmasena:
>> Hi,
>>
>> Is it possible to add LLVM development support for Xtext also ability to
>> traslate to other than just Java.
>>
>> Suminda
>
>
Previous Topic:XtextEditor manipulation
Next Topic:Getting bean properties from JvmGenericType
Goto Forum:
  


Current Time: Tue May 28 17:11:29 EDT 2013

Powered by FUDForum. Page generated in 0.01674 seconds