Xtext is a framework for development of programming languages and domain specific languages. It covers all aspects of a complete language infrastructure, from parsers, over linker, compiler or interpreter to fully-blown top-notch IDE integration for Eclipse, IntelliJ and Web-based IDEs. It comes with great defaults for all these aspects, which at the same time can be easily tailored to your individual needs.
More information: xtext.org (source maintained in the xtext-website subfolder)
In addition to Xtext, this repository also hosts the Xtend programming language. Xtend is a flexible and expressive dialect of Java that compiles into readable Java 5 compatible source code. You can use any existing Java library seamlessly. The compiled output is readable and pretty-printed, and tends to run as fast as the equivalent handwritten Java code. Become productive and write beautiful code with powerful macros, lambdas, operator overloading, and many more modern language features.
More information: xtend-lang.org (source maintained in the xtend-website subfolder)
- Download and start Oomph.
- On the initial page, click on the Switch to advanced mode button in the top right.
- On the Product page, select Eclipse IDE for Eclipse Committers.
- On the Projects page, double-click Xtext → Core.
- Choose your preferred installation settings on the Variables page.
- Finish the wizard, drink a cup of coffee, and watch how your Xtext development environment is assembled.
As a subproject of Eclipse, Xtext uses Bugzilla to track ongoing development and issues (GitHub Issues are not used). In Bugzilla you can
- search for existing bug reports,
- create a new bug report with an account registered at dev.eclipse.org.
The Xtext project accepts normal GitHub pull requests. Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
- Log in at dev.eclipse.org and enter your GitHub user name in the account settings.
- Submit the CLA at projects.eclipse.org.
- Sign off all commits of your contribution (
git commit -s
).
All pull requests are subject to two automated checks: ip-validation verifies the CLA and sign-off status, and Jenkins/test compiles and tests the code on a Jenkins build server.
See also projects.eclipse.org.
Xtext is built with buckminster. You can run the full Xtext build on your machine using an ant script.
In Eclipse:
- launch the /org.eclipse.xtext.releng/local-xtext-build.launch file.
In a terminal:
-
From the xtext git repository root
cd releng/org.eclipse.xtext.releng/releng/ant/
-
Run xtext-build.ant script
ant -f xtext-build.ant
The resulting final Xtext p2 Repositories are available in ~/buckminster-builds/xtext/buildroot/buckminster.workspace/output/org.eclipse.xtext.build_*-eclipse.feature/zips/.