Bringing domain-specific languages to the Web

//Bringing domain-specific languages to the Web

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 aerospace.

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: amine[at]plugbee[dot]com

By | 2021-01-19T17:21:03+00:00 January 14th, 2014|DSL Editor|5 Comments

About the Author:

5 Comments

  1. Jabier April 8, 2014 at 9:10 am

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

  2. idieng April 11, 2014 at 4:15 pm

    Congratulations! this is a very nice features for DSLs

  3. Uli Merkel April 22, 2014 at 7:50 am

    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

  4. alajmi April 22, 2014 at 10:19 am

    Hi Uli,

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

    Regards,
    Amine

  5. Uli Merkel April 23, 2014 at 10:02 am

    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

Comments are closed.