Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Developing DSLs with Eclipse

Loading...

Sign in or sign up now!
6,886
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 3, 2009

Talk by Peter Friese, itemis.

Domain Specific Languages (DSLs) are becoming more and more popular, allowing developers to express their intent more precisely and with less syntactic noise. DSLs can be built on top of a host language (like Java or Ruby), which are referred to as "internal DSLs". External DSLs are far more flexible in terms of language design: you can define any desired grammar, you can define domain specific constraints and error messages, and you can process the DSL in a concise manner because it can either be interpreted or transformed into the code of any language by a generator.

TMF Xtext, which is a part of the Eclipse Galileo release, is a framework for developing textual domain-specific languages. Given an EBNF-style grammar, Xtext automatically generates an Ecore meta model and a rich-featured, fully configurable text-based DSL editor including features such as syntax highlighting, hyperlinked reference navigation, reference look-up, code completion, formatting, an outline and so on. The default implementation can easily be customized.

In this session Peter will explain what DSLs are and why you should care about using them. After a short introduction, he will show how to develop DSLs with TMF Xtext, which is a part of this year's Galileo release. You will learn how to define a grammar for a DSL and create a full-blown editor for this DSL, featuring code completion, syntax highlighting, hyperlinking, a semantic outline and more. Peter will also show how to write a code generator that allows you to transform your DSL scripts into running software.

About Peter Friese:
Peter Friese is a software architect with itemis in Germany and Canada. He is a committer for the open source projects TMF Xtext, openArchitectureWare, Eclipse and FindBugs. As a software engineer and software architect, Peter has worked on a variety of industry projects in different domains such as banking, aerospace and transport. Peter is the author of various articles on the topics of Eclipse, Spring and model-driven software development. He is a regular speaker at various software conferences.

http://wiki.eclipse.org/Eclipse_Day_At_Googleplex_2009

Category:

Nonprofits & Activism

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:
see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • Thanks a lot for this introduction, was very helpful! And audio is not toooo bad!

  • The audio quality is not thaaat bad. Its understandable.

    Thanks for the video, it is well graspable, an easy introduction to the topic if you are new to it.

  • very bad audio 

  • WARNING ! Bad AUDIO!

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more