Eclipse By Example, “Introduction to Domain Specific Languages using Eclipse 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.

The grammar that we will use is based on our PhotoToolkit model. We will use XText to create a fully functional IDE for creating, modifying, and verifying galleries and photos with the following grammar:

photo {
name: "Some text"
description: "Longer text and stuff like that"
url: urlstring

gallery {
name: "Some text"
description: "Even more longer text for this"
// id1-id5 are references to photos defined elsewhere.
photos [ id1, id2, id3, id4, id5 ]

Shameless Plugs – Please Thank Our Sponsors!

Logo of CohesionForce, Inc.

CohesionForce, Inc. (CFI) is a Veteran Owned Small Business (VOSB) that specializes in advanced software engineering. CFI is a proud supporter of the open source community, actively leveraging our working knowledge of the Eclipse Foundation ecosystem to increase capability while decreasing risk for our customers.

This entry was posted in Meetings. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *