|
|
|
|
|
|
|
|
|
Re: Xtext and antlr4? [message #1759773 is a reply to message #1759681] |
Mon, 17 April 2017 23:38  |
Eclipse User |
|
|
|
Ed Willink wrote on Sat, 15 April 2017 12:44
Observation: The massively breaking change may not be that serious/it already exists.
What are you talking about? Why would it not be serious and why does it already exist?
Ed Willink wrote on Sat, 15 April 2017 12:44
Xtext (antlr 3.2), Epsilon (antlr 3.1b), ATL (antlr 3.0) are already incompatible. The conflicts only show up when two versions are used at once as I found when loading+parsing ATL, transforming to QVTrAS then serializing using Xtext to QVTr Text all in one JUnit test. Bang, conflicting Antlr versions.
That is not what I meant. Bumping antlr to 4 in Xtext will not only have an effect on APIs but it will change the parsing behavior. So the same grammars will likely do different things, especially for broken files.
Ed Willink wrote on Sat, 15 April 2017 12:44
So Xtext incompatibilities should only arise for users of two different Xtext variants in the same application.
That is not possible anyway and unrelated to the question of upgrading the antlr dependency.
Ed Willink wrote on Sat, 15 April 2017 12:44
As one of the more versatile SimRel contributions, Xtext's failure to support antlr4 inhibits others from using antrl4.
Why?
Just to make it clear, I am not against this, but we should not play down the effects it will have for the better and worse. Also, it is a huge undertaking.
Sven
|
|
|
Powered by
FUDForum. Page generated in 0.24980 seconds