Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Xtext & ANTLR IP questions
Xtext & ANTLR IP questions [message #1730152] Thu, 21 April 2016 15:11
Eclipse UserFriend
Hi.

I'm trying to understand the issues concerning IP related to Xtext and ANTLR. I know this has been an issue for a long time, but I am confused and I hope someone can clarify these issues for me.

I am part of an Eclipse project and we use the EPL, of course. Our project includes an Xtext-implemented DSL.

I understand that that Xtext uses the EPL as well (https://projects.eclipse.org/projects/tools.xtend), and ANTLR 3.0 uses BSD (http://www.antlr3.org/license.html). I understand that in theory (https://eclipse.org/legal/eplfaq.php#3RDPARTY) a BSD-licenced product could be included in an EPL-licenced product, but the ANTLR-3.0 case is more complicated (http://blog.efftinge.de/2009/01/xtext-new-parser-backend.html and https://www.eclipse.org/Xtext/documentation/1_0_1/xtext.pdf). So apparently the ANTLR-3.0 runtime is approved by Eclipse to use (from an IP point of view), but not the generator. This is why Xtext doesn't ship with the ANTLR-3.0 generator but prompts the user on the first time an Xtext workflow is executed.

Since the post at http://blog.efftinge.de/2009/01/xtext-new-parser-backend.html saying that the Xtext team is implementing a new parser generator, is from 2009, I assume that that parser generator is already implemented. Is that correct? Is that the one invoked as "parser.antlr.XtextAntlrGeneratorFragment" in a workflow?

If this is so, why does Xtext continue to ask the user to download the parser generator from http://download.itemis.com/antlr-generator-3.2.0-patch.jar? Is this generator the one from the original ANTLR or the one from Xtext? If it is the one from Xtext, wouldn't it be free from the IP issue?

What happens if the user doesn't download it? It falls-back to the Xtext Antlr generator?

If the XtextAntlrGenerator is sufficient and it is not the one in http://download.itemis.com/antlr-generator-3.2.0-patch.jar, is there a way to tell the workflow not to ask the user to download that one?

Furthermore, I am aware that there is an Xtext Antlr Runtime feature at http://download.itemis.com/updates. Is this a replacement for the "official" ANTLR runtime?

I noticed this feature includes two plugins: de.itemis.xtext.antlr and org.antlr.generator. If it is called the "Runtime feature", why does it include the generator? And is that the Xtext-specific generator? If yes, why isn't it included in the main Xtext SDK feature?

Thanks






Previous Topic:Xtext custom syntax highlighting
Next Topic: 15 Minute Tutorial Extended(Problems with the Generator)
Goto Forum:
  


Current Time: Mon Jul 07 21:04:29 EDT 2025

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

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

Back to the top