a DSL for writing rules for Xtext languages
Header

Download

As an Eclipse plugin, the typical installation procedure is via the update site.

Xsemantics requires Xtext; you should install the version of Xsemantics according to the version of Xtext you want to use. Note that versions built against older versions of Xtext will not be maintained: only the version built against the last version of Xtext is being developed.

Installation

ATTENTION: the new composite update site is now hosted on bintray; this will include all versions from 1.10 on.

All versions: https://dl.bintray.com/lorenzobettini/xsemantics/updates/

Version 1.10.x (requires Xtext 2.10): https://dl.bintray.com/lorenzobettini/xsemantics/updates/1.10/

Old update sites

Choose the Eclipse repository according to the version of Xtext. If you experience problems with the version with mirrors, simply use the main site.

Version 1.9.x (requires Xtext >= 2.9)

  • http://sourceforge.net/projects/xsemantics/files/updates/releases/1.9

Version 1.8.x (requires Xtext >= 2.8.1)

  • http://sourceforge.net/projects/xsemantics/files/updates/releases/1.8

Version 1.7.x (requires Xtext >= 2.7.3 and Xcore >= 1.2.1)

  • http://sourceforge.net/projects/xsemantics/files/updates/releases/1.7

Version 1.6.x (requires Xtext >= 2.7.0 and Xcore >= 1.2.1)

  • http://sourceforge.net/projects/xsemantics/files/updates/releases/1.6

All versions

  • http://sourceforge.net/projects/xsemantics/files/updates/releases

You can install Xsemantics features directly from the update site (installation of Xsemantics SDK will also automatically install Xtext SDK if not already installed):

If you still have not Xtext installed in your eclipse, you might want to use this composite site which also has links to Xtext official update sites (so that you can install both Xtext and Xsemantics from this site): http://sourceforge.net/projects/xsemantics/files/updates/composite/releases/

You might want to install the whole Xsemantics SDK (and possibly its sources), which includes all the features for developing with Xsemantics (and the examples). If you use the composite update site, you will have to search for the Xsemantics category, as shown in the screenshot:

Maven Artifacts

Since version 1.8.1 Maven artifacts for Xsemantics are available from Maven central, with groupId net.sf.xsemantics, e.g.

<dependency>
    <groupId>net.sf.xsemantics</groupId>
    <artifactId>it.xsemantics.dsl</artifactId>
    <version>${xsemantics.version}</version>
</dependency>

These include the runtime library and the DSL jar containing the compiler. These can be used in a Maven build to run the Xsemantics compiler using the xtext-maven-plugin.

Older versions, starting from version 1.6.0 to version 1.8.0, with groupId it.xsemantics are available from:

  • Releases repository: https://sourceforge.net/projects/xsemantics/files/maven/repo/releases
  • Snapshots repository: https://sourceforge.net/projects/xsemantics/files/maven/repo/snapshots

Sources

Sources can be obtained via git (which can be browsed online); you can clone the git repository of Xsemantics with the following command

git clone https://github.com/LorenzoBettini/xsemantics.git

You may want to follow the section “Getting Sources” in the manual to easily materialize Xsemantics sources in your workspace (and the target platform) using Buckminster.

Old Versions

The old version of Xsemantics (for Xtext 2.2.1) can be installed from this update site

http://sourceforge.net/projects/xsemantics/files/updatesite/

Be Sociable, Share!

2 Responses