Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Use/migrate grammar of ANTLR3 in xtext, is possible?
Use/migrate grammar of ANTLR3 in xtext, is possible? [message #758840] Thu, 24 November 2011 16:56 Go to next message
Federico Sellanes is currently offline Federico SellanesFriend
Messages: 71
Registered: November 2011
Member
I am wondering if i can use my antlr3 grammar in xtext or i need to transcribe all the grammar?.
Re: Use/migrate grammar of ANTLR3 in xtext, is possible? [message #758852 is a reply to message #758840] Thu, 24 November 2011 18:04 Go to previous messageGo to next message
Meinte Boersma is currently offline Meinte BoersmaFriend
Messages: 434
Registered: July 2009
Location: Leiden, Netherlands
Senior Member
You need to add assignments to the grammar and you probably want to avoid/thin out the use of explicit terminals for keywords as well. Xtext really is an abstraction over ANTLR and not a super set of ANTLR. The concepts are quite similar, but their specific semantics differ.

Re: Use/migrate grammar of ANTLR3 in xtext, is possible? [message #758857 is a reply to message #758852] Thu, 24 November 2011 18:41 Go to previous message
Federico Sellanes is currently offline Federico SellanesFriend
Messages: 71
Registered: November 2011
Member
Thanks. Smile
Previous Topic:URI serialization
Next Topic:[Xtend2] Problem Creating JvmTypeReference to Existing Classes
Goto Forum:
  


Current Time: Fri Apr 19 22:46:38 GMT 2024

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

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

Back to the top