Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Collection of open source grammars
Collection of open source grammars [message #1768638] Thu, 20 July 2017 20:30 Go to next message
Waqas Ilyas is currently offline Waqas IlyasFriend
Messages: 80
Registered: July 2009
Member
Hi,

Is there an open source collection of different grammars for Xtext anywhere?

I found one for ANTLR v4 for example, here:
https://github.com/antlr/grammars-v4

But I don't know how easily one can port an ANTLR grammar to Xtext, or vice versa.
Re: Collection of open source grammars [message #1768639 is a reply to message #1768638] Thu, 20 July 2017 20:33 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14076
Registered: July 2009
Senior Member
Hi,
No there is not.
The community page of the Xtext homepage contains some pointers to stuff built with Xtext
You would rather look for antlr 3 grammars than antlr 4 grammars


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Collection of open source grammars [message #1768716 is a reply to message #1768639] Sat, 22 July 2017 08:20 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7292
Registered: July 2009
Senior Member
Hi

I think that https://eclipse.org/Xtext/community.html deserves to be called a collection of Xtext grammars.

Regards

Ed Willink
Re: Collection of open source grammars [message #1769129 is a reply to message #1768716] Wed, 26 July 2017 21:46 Go to previous messageGo to next message
Waqas Ilyas is currently offline Waqas IlyasFriend
Messages: 80
Registered: July 2009
Member
What i mean is, that a place where I can find open-source grammars contributed by others, or I may contribute one myself.
Re: Collection of open source grammars [message #1769142 is a reply to message #1769129] Thu, 27 July 2017 04:41 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14076
Registered: July 2009
Senior Member
there is no such place but the one mentioned above

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:failed to reference element from jar in the classpath
Next Topic:Automatic editor update
Goto Forum:
  


Current Time: Thu Oct 21 15:12:18 GMT 2021

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

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

Back to the top