Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[xtext-dev] Fwd: Migration to Antlr 3.2

Please find the exported bundles attached.

Attachment: runtime_and_generator.zip
Description: Zip archive


Begin forwarded message:

From: Sebastian Zarnekow <Sebastian.Zarnekow@xxxxxxxxx>
Date: 18. Oktober 2010 15:23:52 MESZ
To: Xtext dev list <xtext-dev@xxxxxxxxxxx>
Subject: [xtext-dev] Migration to Antlr 3.2
Reply-To: Xtext dev list <xtext-dev@xxxxxxxxxxx>

Hi everybody,

since we recently ran into several Antlr issues that turned out to be fixed in newer versions, we finally decided to lift Xtext 2.0 to Antlr 3.2 (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=326811).
Unfortunately Antlr 3.2 is not yet available from Eclipse Orbit. That's why we provide the plugin org.antlr.runtime v3.2 from the Xtext git repo. The generator plugin org.antlr.generator v3.2 is available from the github repository org.xtext.antlr.generator. You have to import org.antlr.runtime and org.antlr.generator into you workspace after pulling them from the respective repositories.

Please note: While Xtext and thereby MWE2 depend on Antlr 3.2, Xpand / Xtend still use Antlr 3.0.1. That implies that you need both Antlr versions in your target platform if you develop Xpand and Xtext in parallel. This is not as easy as expected. It seems to be impossible to have org.antlr.runtime v3.0 in your target platform and org.antlr.runtime v3.2 in your workspace. That's why you have to export org.antlr.runtime 3.2 into your target platform to make both versions resolvable. Let's hope that https://bugs.eclipse.org/bugs/show_bug.cgi?id=327868 will be fixed soon...

Happy rebasing,
Sebastian

_______________________________________________
xtext-dev mailing list
xtext-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/xtext-dev


Back to the top