Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Given a ANTLRv3 grammar how to create xtext grammar
Given a ANTLRv3 grammar how to create xtext grammar [message #1793984] Tue, 21 August 2018 21:26 Go to next message
manas marthi is currently offline manas marthiFriend
Messages: 3
Registered: August 2018
Junior Member
Hi All,

Given a ANTLRv3 grammar how to create xtext grammar?

I would like to try creating a Eclipse IDE plugin for Pony lang. Grammar is at this link

https://github.com/ponylang/ponyc/blob/master/pony.g


regards
Re: Given a ANTLRv3 grammar how to create xtext grammar [message #1794222 is a reply to message #1793984] Mon, 27 August 2018 16:11 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 12386
Registered: July 2009
Senior Member
Hi can you lease explain what your actual problem is

Need professional support for Xtext, Xpand, EMF?
Go to: https://xtext.itemis.com
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Given a ANTLRv3 grammar how to create xtext grammar [message #1795579 is a reply to message #1794222] Tue, 25 September 2018 13:34 Go to previous messageGo to next message
manas marthi is currently offline manas marthiFriend
Messages: 3
Registered: August 2018
Junior Member
Hi Christian,

Thanks for your reply.
I am not looking for any DSL development.
Nor am I looking to build a compiler.
The pony language has a LLVM compiler already in place.
I just want to use xtext to see if I can create an Eclipse IDE for pony Lang. (www.ponylang.org).

I thought I would need to create xtext grammar from the antlr grammar and generate eclipse ide plugin using xtext.



Regards

Re: Given a ANTLRv3 grammar how to create xtext grammar [message #1795580 is a reply to message #1795579] Tue, 25 September 2018 13:49 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 12386
Registered: July 2009
Senior Member
Yes you need to port the antlr grammar to a Xtext grammar.
There is no guide on how to turn x in antlr to y in Xtext.
But if you give the Xtext grammar language a brief read
It should be doable

Unfortunately it is still work and thus I cannot do it for you.


Need professional support for Xtext, Xpand, EMF?
Go to: https://xtext.itemis.com
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Given a ANTLRv3 grammar how to create xtext grammar [message #1795587 is a reply to message #1795580] Tue, 25 September 2018 16:42 Go to previous message
manas marthi is currently offline manas marthiFriend
Messages: 3
Registered: August 2018
Junior Member
Noted. Thank you
Previous Topic:XText File Relying on outside EMF Models
Next Topic:How to implement scoping and validation for an element at same time
Goto Forum:
  


Current Time: Fri Nov 16 08:12:42 GMT 2018

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

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

Back to the top