Use the right language: Xtext
26 April 2011 1 Comment
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.