Use the right language: Xtext

Particular problems may need particular tools to be solved.

In computer science the right tool can be a programming (or a specification) language designed and tailored for a narrow family of problems, in other words, a Domain Specific Language (DSL). If the language that you need does exists, then you’re done (well, you have already something to start with). But what if the language doesn’t exist? Or the current languages don’t suit your taste?

You can create one, maybe with an IDE that supports it.

If that’s the case, then I strongly suggest you to look at Xtext.

Xtext is a framework that help you create an advanced IDE, based on Eclipse, of a language that you create, defining its grammar. You’ve got most of the things you might expect nowadays from an IDE: syntax highlighting, code completition, validation, ecc.. There are other ways but I think that Xtext is one of the most complete suite for this kind of task. Also, it is one of the most active, developed and maintained by a group of itemis AG (it’s open source). I’m using Xtext since 0.7.2 (back in those dark ages, when there were no “classSplitting = true” options…) and I think that they are doing a great job.

Xtext has a growing user base, even in industries.

If you’re interested, take a look at the homepage, user guide and the community forum, then start to build your own language!

Advertisements

About Luong
http://www.linkedin.com/in/manhluong

One Response to Use the right language: Xtext

  1. Pingback: Confluence: Xtext

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s