Skip to main content



      Home
Home » Modeling » TMF (Xtext) » LLVM Suport(Generating LLVM Code)
LLVM Suport [message #1060192] Thu, 23 May 2013 09:00 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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 messageGo to next message
Eclipse UserFriend
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
>
>
Re: LLVM Suport [message #1064986 is a reply to message #1060360] Sat, 22 June 2013 10:52 Go to previous messageGo to next message
Eclipse UserFriend
Robovm is very interesting. Is there a possibility of direct support to convert code to native executables? This will be very much sorted for performance reasons.
Re: LLVM Suport [message #1064988 is a reply to message #1064986] Sat, 22 June 2013 11:39 Go to previous message
Eclipse UserFriend
Since Text can be generated you Need a backend (Compiler) that Takes this Text and Processes it
Previous Topic:What is wrong with my simple grammar ?
Next Topic:Create Qualifiedname
Goto Forum:
  


Current Time: Sat Nov 08 22:04:27 EST 2025

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

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

Back to the top