Bringing domain-specific languages to the Web

It seems inevitable that everything we do in software engineering is going Web. This is true also for Eclipse-based modeling environments. Whether or not online IDEs will make developer’s life easier that is another question. At least in the area of Domain-Specific Languages where automated processes are heavily used for model transformations, code generation, etc., one can think about web-based approaches. DSL users are supposed to be non-developers, say “domain experts”. Their focus is mainly on business added value, not the implementation details. Examples of domains making extensive use of model-driven engineering are automotive, energy, and defense.

Sharing tools and resources across multiple users has always been used in traditional developments environments. This is the case for versioning systems, workspace provisioning systems, shared repositories, and even content management systems. However, with the increasing of end users mobility and for some reasons of remote configuration, e-learning, webminars, wikis, etc., there is still a need for more lightweight applications shifted on web browsers.

In this screencast, I’m going to show you how you can derive a Web editor from an existing Xtext grammar, with the following features already given for free:

–        Syntax highlighting

–        Syntax validation

–        Content assist

If this prototype interests you, you can contact me at: amlajmi[at]gmail[dot]com

5 thoughts on “Bringing domain-specific languages to the Web

  1. I will follow very closely this natural evolution of the DSLs domain. The magic button was implemented! Congratulations! The editor looks very nice.

  2. Hi Alajmi,

    i tried to reproduce your example on my old Kepler-Modeling-download with XTEXT 2.4.3. But on the context menu, I could not find the “Generate Web Editor” you showed in the video.

    Can you help me with a downloadable weorkspace of your example and the information what it takes to make it run on my system?

    TIA, Uli

  3. Hi Uli,

    Thanks for your interest. This is an early stage prototype, it is not bundled with the official Xtext distribution currently.

    Regards,
    Amine

  4. Thanks for that info, Amine.

    All the best for improving the concept, it is very nice because it gives the domain experts an easy way to access the editor right from their browser.

    Uli

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>