Skip to main content



      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 17:26 Go to next message
Eclipse UserFriend
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 12:11 Go to previous messageGo to next message
Eclipse UserFriend
Hi can you lease explain what your actual problem is
Re: Given a ANTLRv3 grammar how to create xtext grammar [message #1795579 is a reply to message #1794222] Tue, 25 September 2018 09:34 Go to previous messageGo to next message
Eclipse UserFriend
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 09:49 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: Given a ANTLRv3 grammar how to create xtext grammar [message #1795587 is a reply to message #1795580] Tue, 25 September 2018 12:42 Go to previous message
Eclipse UserFriend
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: Wed Jun 18 06:10:12 EDT 2025

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

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

Back to the top