InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Presentation: Textual DSLs Made Simple

Posted by Abel Avram on Jan 21, 2009

Sections
Architecture & Design,
Development,
Enterprise Architecture
Topics
Modeling ,
Architecture ,
Domain Specific Languages
Tags
Eclipse ,
QCon London 2008

In this presentation filmed during QCon London 2008, Markus Voelter tried to convince the audience that writing a textual external DSL is fairly straightforward and simple. He took them through the steps needed to create a textual DSL from defining the grammar to processing a domain model.

Watch: Textual DSLs Made Simple (1 hour).

Markus started his presentation with an introduction to DSLs, what they are, how they can be categorized and pointing to the strengths and weaknesses of each category. His demonstration focused on a textual external DSL built using the Eclipse Modeling Framework.

After the introduction, Markus showed how to define a grammar for the DSL using the EBNF format in an Xtext editor which provides code completion and constraints checking for the grammar. He also showed how to customize the grammar editor in order to provide constraints checking, syntax highlighting, code completion, debugging and others. Markus presentation ends with a domain model being created and processed.

problem with the video by Kacem Boufelliga Posted
Re: problem with the video by Floyd Marinescu Posted
Alternatives by Tjerk Wolterink Posted
Java Community by wladimir braguini Posted
Re: Java Community by Abel Avram Posted
slides?? by Gregory Guthrie Posted
  1. Back to top

    problem with the video

    by Kacem Boufelliga

    the video stops after 15 mins

  2. Back to top

    Alternatives

    by Tjerk Wolterink

    Just a note to the reader: An alternative is TCS, it allows Text2Model and Model2Text transormations and also generates an editor (complete with syntax highlighting and an outline).
    Link: wiki.eclipse.org/index.php/TCS

    Maybe TCS is a bit less mature but it works for me. I am using it for my Master Project @ University of Twente.
    I am creating a language wich can be used to specify the semantics of your language based on Structural Operational Semantics (SOS, by Plotkin), with this semantic-description you can simulate your language.

  3. Back to top

    Re: problem with the video

    by Floyd Marinescu

    the video stops after 15 mins
    Hi Kacem, can you manually forward the video to the 16 min mark? We have not had any other complaints and this issue does not appear to be reproducible on our side.

  4. Back to top

    Java Community

    by wladimir braguini

    Using Java tools and Java samples shouldn't this presentation be in the Java community also?

  5. Back to top

    Re: Java Community

    by Abel Avram

    Wladimir, the presentation was inadvertently marked for .NET instead Java. Fixed. Thanks for noticing.

  6. Back to top

    slides??

    by Gregory Guthrie

    Since the video is mostly a talking head, are the View-graphs or slides available online?
    And he references his paper on the topic, available?

Educational Content

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.