Tag-Archiv für » xtext «

API Documentation Generator for Xtend

Freitag, 6. August 2010 17:25

During some of my last Xtext and/or Xpand based MDSD projects I wrote a lot of extensions and model transformations with Xtend. Unfortunately is it very hard to efficiently reuse extensions, if there was no API documentation at all or the documentation was scattered across a lot of files.

I really wished to have something like Javadoc for Xtend!

Well, to cut a long story short, here it is:

XtendDoc is a tool for generating HTML API documentation for the Xtend language. XtendDoc is obviously inspired by Javadoc and uses the same markup language and the generated documentation also looks similar to documentation generated by Javadoc.

You can download a preview version of XtendDoc right here:

XtendDoc uses Xtext 1.0 to parse the Xtend files and extract the comments. A good starting point for the Xtend grammar was the expression grammar by Moritz Eyshold and Knut Wannheden. The HTML documentation is generated using Xpand templates.

If you would like to have a look at the source code, or if you would like to participate, feel free to contact me!

Thema: MDSD | Kommentare (3) | Autor:

How to Run Xtext (and other MWE2 Workflows) with Ant

Freitag, 2. Juli 2010 20:23

Some days ago Sebastian showed How to Deploy Xtext to a Headless Plain-Java Envorinment. It’s nearly as easy to run the Xtext generator with Apache Ant.

Thema: MDSD | Kommentare (5) | Autor: