Skip to content

huibo-shi/xtext

 
 

Repository files navigation

Xtext

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 Eclipse IDE integration. 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)

Xtend

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)

How to Contribute

  1. Download and start Oomph.
  2. On the initial page, click on the Switch to advanced mode button in the top right.
  3. On the Product page, select Eclipse IDE for Eclipse Committers.
  4. On the Projects page, double-click Xtext → Core.
  5. Choose your preferred installation settings on the Variables page.
  6. 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

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).

  1. Log in at dev.eclipse.org and enter your GitHub user name in the account settings.
  2. Submit the CLA at projects.eclipse.org.
  3. 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.

How to Build an Xtext p2 Repository

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/.

About

Xtext is a language development framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 88.5%
  • GAP 7.0%
  • Xtend 4.2%
  • HTML 0.2%
  • JavaScript 0.1%
  • CSS 0.0%