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: 14665
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


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: 7655
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: 14665
Registered: July 2009
Senior Member
there is no such place but the one mentioned above

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: Tue Apr 23 10:01:56 GMT 2024

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

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

Back to the top