SlideShare a Scribd company logo
Textual Modeling Framework


                            Jan Koehnlein - Sven Efftinge
                                      itemis




Wednesday, March 25, 2009
Domain-Specific Language (DSL)




Wednesday, March 25, 2009
Domain-Specific Language (DSL)
               A DSL is a formal, processable language
                 targeting at a specific viewpoint or
                    aspect of a software system.




Wednesday, March 25, 2009
Domain-Specific Language (DSL)
               A DSL is a formal, processable language
                 targeting at a specific viewpoint or
                    aspect of a software system.
               It’s semantics, flexibility and notation is
                designed in order to support working
               with that viewpoint as good as possible.


Wednesday, March 25, 2009
Why DSLs?

                            • higher abstractions
                            • avoid redundancy
                            • separation of concerns
                            • use domain concepts
                             (Ubiquitous Language)




Wednesday, March 25, 2009
The challenge




Wednesday, March 25, 2009
Complicated
Wednesday, March 25, 2009
Complicated & Expensive ?
Wednesday, March 25, 2009
licensed by http://www.wordle.net/
Wednesday, March 25, 2009
How we address this with




Wednesday, March 25, 2009
Convenience
Wednesday, March 25, 2009
Wednesday, March 25, 2009
Wednesday, March 25, 2009
Wednesday, March 25, 2009
Wednesday, March 25, 2009
Wednesday, March 25, 2009
Wednesday, March 25, 2009
Wednesday, March 25, 2009
Wednesday, March 25, 2009
Wednesday, March 25, 2009
grammar org.xtext.example.MyDsl
                            	   with org.eclipse.xtext.common.Terminals

                            generate myDsl quot;http://www.xtext.org/example/MyDslquot;

                            Model:
                            	   (types+=Type)*;
                            	
                            Type:
                            	   Datatype | Entity;
                            	
                            Datatype:
                            	   'datatype' name=ID;
                            	
                            Entity:
                            	   'entity' name=ID '{'
                            	   	   (features+=Feature)*
                            	   '}';
                            	
                            Feature:
                            	   type=[Type] name=ID;



Wednesday, March 25, 2009
Grammar Definition
                            grammar org.xtext.example.MyDsl
                            	   with org.eclipse.xtext.common.Terminals

                            generate myDsl quot;http://www.xtext.org/example/MyDslquot;

                            Model:
                            	   (types+=Type)*;
                            	
                            Type:
                            	   Datatype | Entity;
                            	
                            Datatype:
                            	   'datatype' name=ID;
                            	
                            Entity:
                            	   'entity' name=ID '{'
                            	   	   (features+=Feature)*
                            	   '}';
                            	
                            Feature:
                            	   type=[Type] name=ID;



Wednesday, March 25, 2009
Grammar Definition                Terminal Rule Import
                            grammar org.xtext.example.MyDsl
                            	   with org.eclipse.xtext.common.Terminals

                            generate myDsl quot;http://www.xtext.org/example/MyDslquot;

                            Model:
                            	   (types+=Type)*;
                            	
                            Type:
                            	   Datatype | Entity;
                            	
                            Datatype:
                            	   'datatype' name=ID;
                            	
                            Entity:
                            	   'entity' name=ID '{'
                            	   	   (features+=Feature)*
                            	   '}';
                            	
                            Feature:
                            	   type=[Type] name=ID;



Wednesday, March 25, 2009
Grammar Definition                Terminal Rule Import
                            grammar org.xtext.example.MyDsl
  Derived                   	   with org.eclipse.xtext.common.Terminals

 Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot;
                            Model:
                            	   (types+=Type)*;
                            	
                            Type:
                            	   Datatype | Entity;
                            	
                            Datatype:
                            	   'datatype' name=ID;
                            	
                            Entity:
                            	   'entity' name=ID '{'
                            	   	   (features+=Feature)*
                            	   '}';
                            	
                            Feature:
                            	   type=[Type] name=ID;



Wednesday, March 25, 2009
Grammar Definition                Terminal Rule Import
                            grammar org.xtext.example.MyDsl
  Derived                   	   with org.eclipse.xtext.common.Terminals

 Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot;
                            Model:
       Parser               	   (types+=Type)*;
                            	
       Rules                Type:
                            	   Datatype | Entity;
                            	
                            Datatype:
                            	   'datatype' name=ID;
                            	
                            Entity:
                            	   'entity' name=ID '{'
                            	   	   (features+=Feature)*
                            	   '}';
                            	
                            Feature:
                            	   type=[Type] name=ID;



Wednesday, March 25, 2009
Grammar Definition                Terminal Rule Import
                            grammar org.xtext.example.MyDsl
  Derived                   	   with org.eclipse.xtext.common.Terminals

 Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot;
                                                           Containment
                                                             Reference
           Model:
  Parser   	   (types+=Type)*;
                            	
        Rules               Type:
                            	   Datatype | Entity;
                            	
                            Datatype:
                            	   'datatype' name=ID;
                            	
                            Entity:
                            	   'entity' name=ID '{'
                            	   	   (features+=Feature)*
                            	   '}';
                            	
                            Feature:
                            	   type=[Type] name=ID;



Wednesday, March 25, 2009
Grammar Definition                Terminal Rule Import
                            grammar org.xtext.example.MyDsl
  Derived                   	   with org.eclipse.xtext.common.Terminals

 Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot;
                                                           Containment
                                                             Reference
           Model:
  Parser 	 	   (types+=Type)*;

                                                             Cardinality
   Rules Type:
                            	   Datatype | Entity;
                            	
                            Datatype:
                            	   'datatype' name=ID;
                            	
                            Entity:
                            	   'entity' name=ID '{'
                            	   	   (features+=Feature)*
                            	   '}';
                            	
                            Feature:
                            	   type=[Type] name=ID;



Wednesday, March 25, 2009
Grammar Definition                Terminal Rule Import
                            grammar org.xtext.example.MyDsl
  Derived                   	   with org.eclipse.xtext.common.Terminals

 Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot;
                                                           Containment
                                                             Reference
           Model:
  Parser 	 	   (types+=Type)*;

                                                             Cardinality
   Rules Type:
                            	   Datatype | Entity;
                                                                          Alternatives
                            	
                            Datatype:
                            	   'datatype' name=ID;
                            	
                            Entity:
                            	   'entity' name=ID '{'
                            	   	   (features+=Feature)*
                            	   '}';
                            	
                            Feature:
                            	   type=[Type] name=ID;



Wednesday, March 25, 2009
Grammar Definition                Terminal Rule Import
                            grammar org.xtext.example.MyDsl
  Derived                   	   with org.eclipse.xtext.common.Terminals

 Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot;
                                                           Containment
                                                             Reference
           Model:
  Parser 	 	   (types+=Type)*;

                                                             Cardinality
   Rules Type:
                            	   Datatype | Entity;
                                                                          Alternatives
                            	
                            Datatype:
                            	   'datatype' name=ID;
                                                                            Call to
                            	
                            Entity:
                                                                           Terminal
                            	   'entity' name=ID '{'
                            	   	   (features+=Feature)*
                                                                             Rule
                            	   '}';
                            	
                            Feature:
                            	   type=[Type] name=ID;



Wednesday, March 25, 2009
Grammar Definition                Terminal Rule Import
                            grammar org.xtext.example.MyDsl
  Derived                   	   with org.eclipse.xtext.common.Terminals

 Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot;
                                                           Containment
                                                             Reference
           Model:
  Parser 	 	   (types+=Type)*;

                                                             Cardinality
   Rules Type:
                            	   Datatype | Entity;
                                                                          Alternatives
                            	
                            Datatype:
                            	   'datatype' name=ID;
                                                                            Call to
                            	
                            Entity:
  Keywords                                                                 Terminal
                            	   'entity' name=ID '{'
                            	   	   (features+=Feature)*
                                                                             Rule
                            	   '}';
                            	
                            Feature:
                            	   type=[Type] name=ID;



Wednesday, March 25, 2009
Grammar Definition                Terminal Rule Import
                            grammar org.xtext.example.MyDsl
  Derived                   	   with org.eclipse.xtext.common.Terminals

 Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot;
                                                           Containment
                                                             Reference
           Model:
  Parser 	 	   (types+=Type)*;

                                                             Cardinality
   Rules Type:
                            	   Datatype | Entity;
                                                                          Alternatives
                            	
                            Datatype:
                            	   'datatype' name=ID;
                                                                            Call to
                            	
                            Entity:
  Keywords                                                                 Terminal
                            	   'entity' name=ID '{'
                            	   	   (features+=Feature)*
                                                             Cross           Rule
                            	   '}';
                            	
                                                            Reference
                            Feature:
                            	   type=[Type] name=ID;



Wednesday, March 25, 2009
Metamodel Derivation
                                                  MyDsl
    grammar org.xtext.example.MyDsl
    	   with org.eclipse.xtext.common.Terminals
                                                                    Model

    generate myDsl
      quot;http://www.xtext.org/example/MyDslquot;

    Model:                                                               *
                                                                     Type
    	   (types+=Type)*;
    	                                                            name: String
    Type:
    	   Datatype | Entity;
    	
    Datatype:                                        Datatype                        Entity
    	   'datatype' name=ID;
    	
    Entity:
    	   'entity' name=ID '{'                              type
    	   	    (features+=Feature)*                                                       *
    	   '}';                                                                        Feature
                                                                             *
    	
                                                                                 name: String
    Feature:
    	   type=[Datatype] name=ID;



Wednesday, March 25, 2009
Metamodel Derivation
                                                  MyDsl
    grammar org.xtext.example.MyDsl
    	   with org.eclipse.xtext.common.Terminals
                                                                    Model

    generate myDsl
      quot;http://www.xtext.org/example/MyDslquot;

    Model:                                                               *
                                                                     Type
    	   (types+=Type)*;
    	                                                            name: String
    Type:
    	   Datatype | Entity;
    	
    Datatype:                                        Datatype                        Entity
    	   'datatype' name=ID;
    	
    Entity:
    	   'entity' name=ID '{'                              type
    	   	    (features+=Feature)*                                                       *
    	   '}';                                                                        Feature
                                                                             *
    	
                                                                                 name: String
    Feature:
    	   type=[Datatype] name=ID;



Wednesday, March 25, 2009
Metamodel Derivation
                                                  MyDsl
    grammar org.xtext.example.MyDsl
    	   with org.eclipse.xtext.common.Terminals
                                                                    Model

    generate myDsl
      quot;http://www.xtext.org/example/MyDslquot;

    Model:                                                               *
                                                                     Type
    	   (types+=Type)*;
    	                                                            name: String
    Type:
    	   Datatype | Entity;
    	
    Datatype:                                        Datatype                        Entity
    	   'datatype' name=ID;
    	
    Entity:
    	   'entity' name=ID '{'                              type
    	   	    (features+=Feature)*                                                       *
    	   '}';                                                                        Feature
                                                                             *
    	
                                                                                 name: String
    Feature:
    	   type=[Datatype] name=ID;



Wednesday, March 25, 2009
Metamodel Derivation
                                                  MyDsl
    grammar org.xtext.example.MyDsl
    	   with org.eclipse.xtext.common.Terminals
                                                                    Model

    generate myDsl
      quot;http://www.xtext.org/example/MyDslquot;

    Model:                                                               *
                                                                     Type
    	   (types+=Type)*;
    	                                                            name: String
    Type:
    	   Datatype | Entity;
    	
    Datatype:                                        Datatype                        Entity
    	   'datatype' name=ID;
    	
    Entity:
    	   'entity' name=ID '{'                              type
    	   	    (features+=Feature)*                                                       *
    	   '}';                                                                        Feature
                                                                             *
    	
                                                                                 name: String
    Feature:
    	   type=[Datatype] name=ID;



Wednesday, March 25, 2009
Metamodel Derivation
                                                  MyDsl
    grammar org.xtext.example.MyDsl
    	   with org.eclipse.xtext.common.Terminals
                                                                    Model

    generate myDsl
      quot;http://www.xtext.org/example/MyDslquot;

    Model:                                                               *
                                                                     Type
    	   (types+=Type)*;
    	                                                            name: String
    Type:
    	   Datatype | Entity;
    	
    Datatype:                                        Datatype                        Entity
    	   'datatype' name=ID;
    	
    Entity:
    	   'entity' name=ID '{'                              type
    	   	    (features+=Feature)*                                                       *
    	   '}';                                                                        Feature
                                                                             *
    	
                                                                                 name: String
    Feature:
    	   type=[Datatype] name=ID;



Wednesday, March 25, 2009
Metamodel Derivation
                                                  MyDsl
    grammar org.xtext.example.MyDsl
    	   with org.eclipse.xtext.common.Terminals
                                                                    Model

    generate myDsl
      quot;http://www.xtext.org/example/MyDslquot;

    Model:                                                               *
                                                                     Type
    	   (types+=Type)*;
    	                                                            name: String
    Type:
    	   Datatype | Entity;
    	
    Datatype:                                        Datatype                        Entity
    	   'datatype' name=ID;
    	
    Entity:
    	   'entity' name=ID '{'                              type
    	   	    (features+=Feature)*                                                       *
    	   '}';                                                                        Feature
                                                                             *
    	
                                                                                 name: String
    Feature:
    	   type=[Datatype] name=ID;



Wednesday, March 25, 2009
Metamodel Derivation
                                                  MyDsl
    grammar org.xtext.example.MyDsl
    	   with org.eclipse.xtext.common.Terminals
                                                                    Model

    generate myDsl
      quot;http://www.xtext.org/example/MyDslquot;

    Model:                                                               *
                                                                     Type
    	   (types+=Type)*;
    	                                                            name: String
    Type:
    	   Datatype | Entity;
    	
    Datatype:                                        Datatype                        Entity
    	   'datatype' name=ID;
    	
    Entity:
    	   'entity' name=ID '{'                              type
    	   	    (features+=Feature)*                                                       *
    	   '}';                                                                        Feature
                                                                             *
    	
                                                                                 name: String
    Feature:
    	   type=[Datatype] name=ID;



Wednesday, March 25, 2009
Metamodel Derivation
                                                  MyDsl
    grammar org.xtext.example.MyDsl
    	   with org.eclipse.xtext.common.Terminals
                                                                    Model

    generate myDsl
      quot;http://www.xtext.org/example/MyDslquot;

    Model:                                                               *
                                                                     Type
    	   (types+=Type)*;
    	                                                            name: String
    Type:
    	   Datatype | Entity;
    	
    Datatype:                                        Datatype                        Entity
    	   'datatype' name=ID;
    	
    Entity:
    	   'entity' name=ID '{'                              type
    	   	    (features+=Feature)*                                                       *
    	   '}';                                                                        Feature
                                                                             *
    	
                                                                                 name: String
    Feature:
    	   type=[Datatype] name=ID;



Wednesday, March 25, 2009
Metamodel Derivation
                                                  MyDsl
    grammar org.xtext.example.MyDsl
    	   with org.eclipse.xtext.common.Terminals
                                                                    Model

    generate myDsl
      quot;http://www.xtext.org/example/MyDslquot;

    Model:                                                               *
                                                                     Type
    	   (types+=Type)*;
    	                                                            name: String
    Type:
    	   Datatype | Entity;
    	
    Datatype:                                        Datatype                        Entity
    	   'datatype' name=ID;
    	
    Entity:
    	   'entity' name=ID '{'                              type
    	   	    (features+=Feature)*                                                       *
    	   '}';                                                                        Feature
                                                                             *
    	
                                                                                 name: String
    Feature:
    	   type=[Datatype] name=ID;



Wednesday, March 25, 2009
Metamodel Derivation
                                                  MyDsl
    grammar org.xtext.example.MyDsl
    	   with org.eclipse.xtext.common.Terminals
                                                                    Model

    generate myDsl
      quot;http://www.xtext.org/example/MyDslquot;

    Model:                                                               *
                                                                     Type
    	   (types+=Type)*;
    	                                                            name: String
    Type:
    	   Datatype | Entity;
    	
    Datatype:                                        Datatype                        Entity
    	   'datatype' name=ID;
    	
    Entity:
    	   'entity' name=ID '{'                              type
    	   	    (features+=Feature)*                                                       *
    	   '}';                                                                        Feature
                                                                             *
    	
                                                                                 name: String
    Feature:
    	   type=[Datatype] name=ID;



Wednesday, March 25, 2009
Metamodel Derivation
                                                  MyDsl
    grammar org.xtext.example.MyDsl
    	   with org.eclipse.xtext.common.Terminals
                                                                    Model

    generate myDsl
      quot;http://www.xtext.org/example/MyDslquot;

    Model:                                                               *
                                                                     Type
    	   (types+=Type)*;
    	                                                            name: String
    Type:
    	   Datatype | Entity;
    	
    Datatype:                                        Datatype                        Entity
    	   'datatype' name=ID;
    	
    Entity:
    	   'entity' name=ID '{'                              type
    	   	    (features+=Feature)*                                                       *
    	   '}';                                                                        Feature
                                                                             *
    	
                                                                                 name: String
    Feature:
    	   type=[Datatype] name=ID;



Wednesday, March 25, 2009
Metamodel Derivation
                                                  MyDsl
    grammar org.xtext.example.MyDsl
    	   with org.eclipse.xtext.common.Terminals
                                                                    Model

    generate myDsl
      quot;http://www.xtext.org/example/MyDslquot;

    Model:                                                               *
                                                                     Type
    	   (types+=Type)*;
    	                                                            name: String
    Type:
    	   Datatype | Entity;
    	
    Datatype:                                        Datatype                        Entity
    	   'datatype' name=ID;
    	
    Entity:
    	   'entity' name=ID '{'                              type
    	   	    (features+=Feature)*                                                       *
    	   '}';                                                                        Feature
                                                                             *
    	
                                                                                 name: String
    Feature:
    	   type=[Datatype] name=ID;



Wednesday, March 25, 2009
licensed by http://www.wordle.net/
Wednesday, March 25, 2009
Based on
            the grammar and Ecore models,
            Xtext provides you with sensible
                default implementations.


                                        licensed by http://www.wordle.net/
Wednesday, March 25, 2009
Validation


Wednesday, March 25, 2009
Wednesday, March 25, 2009
Wednesday, March 25, 2009
Wednesday, March 25, 2009
Wednesday, March 25, 2009
Customizing the LabelProvider

              public class MySpecialLabelProvider
                     extends DefaultLabelProvider {

                    public String label(Feature f) {
                       return f.getName()+quot;:quot;+f.getType().getName();
                    }
              }


            ‣Naming Convention
            ‣Polymorphic Dispatch
            ‣Fault tolerance


Wednesday, March 25, 2009
Flexibility
Wednesday, March 25, 2009
licensed by http://www.wordle.net/
Wednesday, March 25, 2009
Dependency management




                            licensed by http://www.wordle.net/
Wednesday, March 25, 2009
Dependency management




                            licensed by http://www.wordle.net/
Wednesday, March 25, 2009
Dependency management




                            licensed by http://www.wordle.net/
Wednesday, March 25, 2009
Dependency management




                            licensed by http://www.wordle.net/
Wednesday, March 25, 2009
Dependency management




                            licensed by http://www.wordle.net/
Wednesday, March 25, 2009
MyCustomLabelProvider




                                        licensed by http://www.wordle.net/
Wednesday, March 25, 2009
Dependency Injection
                   with Google fGuice




Wednesday, March 25, 2009
Dependency Injection
                   with Google fGuice




Wednesday, March 25, 2009
Dependency Injection
                   with Google fGuice




          ‣No dependency to concrete implementation



Wednesday, March 25, 2009
Dependency Injection
                   with Google fGuice




          ‣No dependency to concrete implementation
          ‣No explicit construction


Wednesday, March 25, 2009
Dependency Injection
                   with Google fGuice




          ‣No dependency to concrete implementation
          ‣No explicit construction
          ‣Easy testing

Wednesday, March 25, 2009
Dependency Injection
                   with Google fGuice




          ‣No dependency to concrete implementation
          ‣No explicit construction
          ‣Easy testing
          ‣Easy composition
Wednesday, March 25, 2009
Configuration of
                      Components in Xtext
                            AbstractDeclarativeModule




            DefaultRuntimeModule                 DefaultUIModule
                                                                    From Xtext

                                                                    Your Project
         GeneratedRuntimeModule                 GeneratedUIModule




                 RuntimeModule                          UIModule




Wednesday, March 25, 2009
Configuration of
                    Components in Xtext
        /**
          * used to register components to be used within the IDE.
          */
        public class DomainmodelUiModule
        	 	 extends GeneratedDomainmodelUiModule {
        	
        	 @Override
        	 public Class<? extends ILabelProvider> bindILabelProvider() {
        	 	 return MySpecialLabelProvider.class;
        	}
        }




Wednesday, March 25, 2009
and Equinox

         Injector is created during Bundle.start(...)
    	 @Override
    	 public void start(BundleContext context) throws Exception {
    	 	 super.start(context);
    	 	 INSTANCE = this;
    	 	 injector = Guice.createInjector(
              new DomainmodelRuntimeModule(),
              new DomainmodelUiModule());
    	}
    	




Wednesday, March 25, 2009
and Equinox

         ExecutableExtensions are created via
         IExecutableExtensionFactory
     	     <extension
     	     	 point=quot;org.eclipse.emf.ecore.extension_parserquot;>
     	     	 <parser class=quot;my.pack.DomainmodelExecutableExtensionFactory:
                              org.eclipse.xtext.resource.XtextResourceFactoryquot;
     	     	 	 type=quot;dmodelquot;>
     	     	 </parser>
     	     </extension>




Wednesday, March 25, 2009
Composable
                            Code Generator
                       ‣ generator is composed of “fragments”




Wednesday, March 25, 2009
Composable
                            Code Generator
                       ‣ generator is composed of “fragments”
                       ‣ fragments can contribute to:




Wednesday, March 25, 2009
Composable
                            Code Generator
                       ‣ generator is composed of “fragments”
                       ‣ fragments can contribute to:
                        ‣ Manifest.MF



Wednesday, March 25, 2009
Composable
                            Code Generator
                       ‣ generator is composed of “fragments”
                       ‣ fragments can contribute to:
                        ‣ Manifest.MF
                        ‣ plugin.xml


Wednesday, March 25, 2009
Composable
                            Code Generator
                       ‣ generator is composed of “fragments”
                       ‣ fragments can contribute to:
                        ‣ Manifest.MF
                        ‣ plugin.xml
                        ‣ Guice modules

Wednesday, March 25, 2009
Composable
                            Code Generator
                       ‣ generator is composed of “fragments”
                       ‣ fragments can contribute to:
                        ‣ Manifest.MF
                        ‣ plugin.xml
                        ‣ Guice modules
                       ‣ Add your own fragments
Wednesday, March 25, 2009
Future Plans
Wednesday, March 25, 2009
Galileo




Wednesday, March 25, 2009
Galileo
       •      Index




Wednesday, March 25, 2009
Galileo
       •      Index
       • Enum Rules




Wednesday, March 25, 2009
Galileo
       •      Index
       • Enum Rules
       • Bug fixing / Performance Tuning




Wednesday, March 25, 2009
Galileo
       •      Index
       • Enum Rules
       • Bug fixing / Performance Tuning
       • Documentation



Wednesday, March 25, 2009
Galileo
       •      Index
       • Enum Rules
       • Bug fixing / Performance Tuning
       • Documentation
       • Sugar (Wizards, Tutorials, etc.)

Wednesday, March 25, 2009
Post Galileo




Wednesday, March 25, 2009
Post Galileo

         ‣      More UI features




Wednesday, March 25, 2009
Post Galileo

         ‣      More UI features

         ‣Basic Language Libraries




Wednesday, March 25, 2009
Post Galileo

         ‣      More UI features

         ‣Basic Language Libraries

         ‣“Eat your own dog food”
                continued


Wednesday, March 25, 2009
Thank you very much for listening

      Visit the project’s web site :
             www.xtext.org

     Copyright 2009 by itemis



Wednesday, March 25, 2009
Convenient & Flexible
Wednesday, March 25, 2009

More Related Content

What's hot

Extending the Xbase Typesystem
Extending the Xbase TypesystemExtending the Xbase Typesystem
Extending the Xbase Typesystem
Sebastian Zarnekow
 
Everything is Permitted: Extending Built-ins
Everything is Permitted: Extending Built-insEverything is Permitted: Extending Built-ins
Everything is Permitted: Extending Built-ins
Andrew Dupont
 
C# Advanced L03-XML+LINQ to XML
C# Advanced L03-XML+LINQ to XMLC# Advanced L03-XML+LINQ to XML
C# Advanced L03-XML+LINQ to XML
Mohammad Shaker
 
EMF Tips n Tricks
EMF Tips n TricksEMF Tips n Tricks
EMF Tips n Tricks
Kaniska Mandal
 
Synapseindia object oriented programming in php
Synapseindia object oriented programming in phpSynapseindia object oriented programming in php
Synapseindia object oriented programming in php
Synapseindiappsdevelopment
 
Basics of Object Oriented Programming in Python
Basics of Object Oriented Programming in PythonBasics of Object Oriented Programming in Python
Basics of Object Oriented Programming in Python
Sujith Kumar
 
Java and XML
Java and XMLJava and XML
Java and XML
Raji Ghawi
 
Advanced php
Advanced phpAdvanced php
Advanced phphamfu
 
Architecture logicielle #3 : object oriented design
Architecture logicielle #3 : object oriented designArchitecture logicielle #3 : object oriented design
Architecture logicielle #3 : object oriented designJean Michel
 
Object oriented programming with python
Object oriented programming with pythonObject oriented programming with python
Object oriented programming with python
Arslan Arshad
 
Ios development
Ios developmentIos development
Ios development
elnaqah
 
Designing a JavaFX Mobile application
Designing a JavaFX Mobile applicationDesigning a JavaFX Mobile application
Designing a JavaFX Mobile applicationFabrizio Giudici
 
PYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYA
PYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYAPYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYA
PYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYA
Maulik Borsaniya
 
Uncommon Design Patterns
Uncommon Design PatternsUncommon Design Patterns
Uncommon Design Patterns
Stefano Fago
 
A Gentle Introduction To Object Oriented Php
A Gentle Introduction To Object Oriented PhpA Gentle Introduction To Object Oriented Php
A Gentle Introduction To Object Oriented PhpMichael Girouard
 
Xtext's new Formatter API
Xtext's new Formatter APIXtext's new Formatter API
Xtext's new Formatter API
meysholdt
 
Object Oriented Programming in PHP
Object Oriented Programming in PHPObject Oriented Programming in PHP
Object Oriented Programming in PHP
Lorna Mitchell
 

What's hot (20)

Extending the Xbase Typesystem
Extending the Xbase TypesystemExtending the Xbase Typesystem
Extending the Xbase Typesystem
 
Everything is Permitted: Extending Built-ins
Everything is Permitted: Extending Built-insEverything is Permitted: Extending Built-ins
Everything is Permitted: Extending Built-ins
 
core java
core javacore java
core java
 
C# Advanced L03-XML+LINQ to XML
C# Advanced L03-XML+LINQ to XMLC# Advanced L03-XML+LINQ to XML
C# Advanced L03-XML+LINQ to XML
 
Prototype
PrototypePrototype
Prototype
 
EMF Tips n Tricks
EMF Tips n TricksEMF Tips n Tricks
EMF Tips n Tricks
 
Synapseindia object oriented programming in php
Synapseindia object oriented programming in phpSynapseindia object oriented programming in php
Synapseindia object oriented programming in php
 
Basics of Object Oriented Programming in Python
Basics of Object Oriented Programming in PythonBasics of Object Oriented Programming in Python
Basics of Object Oriented Programming in Python
 
Java and XML
Java and XMLJava and XML
Java and XML
 
Advanced php
Advanced phpAdvanced php
Advanced php
 
Oop concepts in python
Oop concepts in pythonOop concepts in python
Oop concepts in python
 
Architecture logicielle #3 : object oriented design
Architecture logicielle #3 : object oriented designArchitecture logicielle #3 : object oriented design
Architecture logicielle #3 : object oriented design
 
Object oriented programming with python
Object oriented programming with pythonObject oriented programming with python
Object oriented programming with python
 
Ios development
Ios developmentIos development
Ios development
 
Designing a JavaFX Mobile application
Designing a JavaFX Mobile applicationDesigning a JavaFX Mobile application
Designing a JavaFX Mobile application
 
PYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYA
PYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYAPYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYA
PYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYA
 
Uncommon Design Patterns
Uncommon Design PatternsUncommon Design Patterns
Uncommon Design Patterns
 
A Gentle Introduction To Object Oriented Php
A Gentle Introduction To Object Oriented PhpA Gentle Introduction To Object Oriented Php
A Gentle Introduction To Object Oriented Php
 
Xtext's new Formatter API
Xtext's new Formatter APIXtext's new Formatter API
Xtext's new Formatter API
 
Object Oriented Programming in PHP
Object Oriented Programming in PHPObject Oriented Programming in PHP
Object Oriented Programming in PHP
 

Similar to Xtext Eclipse Con

Jazoon 2010 - Building DSLs with Eclipse
Jazoon 2010 - Building DSLs with EclipseJazoon 2010 - Building DSLs with Eclipse
Jazoon 2010 - Building DSLs with Eclipse
Peter Friese
 
Building DSLs With Eclipse
Building DSLs With EclipseBuilding DSLs With Eclipse
Building DSLs With Eclipse
Peter Friese
 
Overcoming The Impedance Mismatch Between Source Code And Architecture
Overcoming The Impedance Mismatch Between Source Code And ArchitectureOvercoming The Impedance Mismatch Between Source Code And Architecture
Overcoming The Impedance Mismatch Between Source Code And Architecture
Peter Friese
 
Xbase - Implementing Domain-Specific Languages for Java
Xbase - Implementing Domain-Specific Languages for JavaXbase - Implementing Domain-Specific Languages for Java
Xbase - Implementing Domain-Specific Languages for Java
meysholdt
 
Extensible and Dynamic Topic Types For DDS (out of date)
Extensible and Dynamic Topic Types For DDS (out of date)Extensible and Dynamic Topic Types For DDS (out of date)
Extensible and Dynamic Topic Types For DDS (out of date)
Rick Warren
 
Xxe
XxeXxe
Attacks against Microsoft network web clients
Attacks against Microsoft network web clients Attacks against Microsoft network web clients
Attacks against Microsoft network web clients Positive Hack Days
 
Your Entity, Your Code
Your Entity, Your CodeYour Entity, Your Code
Your Entity, Your Code
Marco Vito Moscaritolo
 
Your Entity, Your Code
Your Entity, Your CodeYour Entity, Your Code
Your Entity, Your Code
DrupalDay
 
Ian 2014.10.24 weekly report
Ian 2014.10.24 weekly reportIan 2014.10.24 weekly report
Ian 2014.10.24 weekly report
LearningTech
 
Reversing JavaScript
Reversing JavaScriptReversing JavaScript
Reversing JavaScript
Roberto Suggi Liverani
 
Introduction To Csharp
Introduction To CsharpIntroduction To Csharp
Introduction To Csharpg_hemanth17
 
Introduction to-csharp-1229579367461426-1
Introduction to-csharp-1229579367461426-1Introduction to-csharp-1229579367461426-1
Introduction to-csharp-1229579367461426-1Sachin Singh
 
Introduction to CSharp
Introduction to CSharpIntroduction to CSharp
Introduction to CSharpMody Farouk
 
Introduction to csharp
Introduction to csharpIntroduction to csharp
Introduction to csharpRaga Vahini
 
Introduction to csharp
Introduction to csharpIntroduction to csharp
Introduction to csharpSatish Verma
 
Introduction to csharp
Introduction to csharpIntroduction to csharp
Introduction to csharpsinghadarsh
 
.Net Project Portfolio for Roger Loving
.Net Project Portfolio for Roger Loving.Net Project Portfolio for Roger Loving
.Net Project Portfolio for Roger Loving
rloving10
 

Similar to Xtext Eclipse Con (20)

Jazoon 2010 - Building DSLs with Eclipse
Jazoon 2010 - Building DSLs with EclipseJazoon 2010 - Building DSLs with Eclipse
Jazoon 2010 - Building DSLs with Eclipse
 
Building DSLs With Eclipse
Building DSLs With EclipseBuilding DSLs With Eclipse
Building DSLs With Eclipse
 
Overcoming The Impedance Mismatch Between Source Code And Architecture
Overcoming The Impedance Mismatch Between Source Code And ArchitectureOvercoming The Impedance Mismatch Between Source Code And Architecture
Overcoming The Impedance Mismatch Between Source Code And Architecture
 
Xbase - Implementing Domain-Specific Languages for Java
Xbase - Implementing Domain-Specific Languages for JavaXbase - Implementing Domain-Specific Languages for Java
Xbase - Implementing Domain-Specific Languages for Java
 
201005 accelerometer and core Location
201005 accelerometer and core Location201005 accelerometer and core Location
201005 accelerometer and core Location
 
Extensible and Dynamic Topic Types For DDS (out of date)
Extensible and Dynamic Topic Types For DDS (out of date)Extensible and Dynamic Topic Types For DDS (out of date)
Extensible and Dynamic Topic Types For DDS (out of date)
 
XXE
XXEXXE
XXE
 
Xxe
XxeXxe
Xxe
 
Attacks against Microsoft network web clients
Attacks against Microsoft network web clients Attacks against Microsoft network web clients
Attacks against Microsoft network web clients
 
Your Entity, Your Code
Your Entity, Your CodeYour Entity, Your Code
Your Entity, Your Code
 
Your Entity, Your Code
Your Entity, Your CodeYour Entity, Your Code
Your Entity, Your Code
 
Ian 2014.10.24 weekly report
Ian 2014.10.24 weekly reportIan 2014.10.24 weekly report
Ian 2014.10.24 weekly report
 
Reversing JavaScript
Reversing JavaScriptReversing JavaScript
Reversing JavaScript
 
Introduction To Csharp
Introduction To CsharpIntroduction To Csharp
Introduction To Csharp
 
Introduction to-csharp-1229579367461426-1
Introduction to-csharp-1229579367461426-1Introduction to-csharp-1229579367461426-1
Introduction to-csharp-1229579367461426-1
 
Introduction to CSharp
Introduction to CSharpIntroduction to CSharp
Introduction to CSharp
 
Introduction to csharp
Introduction to csharpIntroduction to csharp
Introduction to csharp
 
Introduction to csharp
Introduction to csharpIntroduction to csharp
Introduction to csharp
 
Introduction to csharp
Introduction to csharpIntroduction to csharp
Introduction to csharp
 
.Net Project Portfolio for Roger Loving
.Net Project Portfolio for Roger Loving.Net Project Portfolio for Roger Loving
.Net Project Portfolio for Roger Loving
 

More from Sven Efftinge

Parsing Expression With Xtext
Parsing Expression With XtextParsing Expression With Xtext
Parsing Expression With Xtext
Sven Efftinge
 
Language Engineering With Xtext
Language Engineering With XtextLanguage Engineering With Xtext
Language Engineering With Xtext
Sven Efftinge
 
Future of Xtext
Future of XtextFuture of Xtext
Future of Xtext
Sven Efftinge
 
Auto-GWT : Better GWT Programming with Xtend
Auto-GWT : Better GWT Programming with XtendAuto-GWT : Better GWT Programming with Xtend
Auto-GWT : Better GWT Programming with Xtend
Sven Efftinge
 
Functional programming with Xtend
Functional programming with XtendFunctional programming with Xtend
Functional programming with Xtend
Sven Efftinge
 
Codegeneration With Xtend
Codegeneration With XtendCodegeneration With Xtend
Codegeneration With Xtend
Sven Efftinge
 
Gwt and Xtend
Gwt and XtendGwt and Xtend
Gwt and Xtend
Sven Efftinge
 
Domain Specific Languages (EclipseCon 2012)
Domain Specific Languages (EclipseCon 2012)Domain Specific Languages (EclipseCon 2012)
Domain Specific Languages (EclipseCon 2012)
Sven Efftinge
 
Xtend @ EclipseCon 2012
Xtend @ EclipseCon 2012Xtend @ EclipseCon 2012
Xtend @ EclipseCon 2012
Sven Efftinge
 
Eclipse Xtend
Eclipse XtendEclipse Xtend
Eclipse Xtend
Sven Efftinge
 
This Is Not Your Father's Java
This Is Not Your Father's JavaThis Is Not Your Father's Java
This Is Not Your Father's Java
Sven Efftinge
 
Getting the most out of Java [Nordic Coding-2010]
Getting the most out of Java [Nordic Coding-2010]Getting the most out of Java [Nordic Coding-2010]
Getting the most out of Java [Nordic Coding-2010]
Sven Efftinge
 
Xtext at MDD Day 2010
Xtext at MDD Day 2010Xtext at MDD Day 2010
Xtext at MDD Day 2010Sven Efftinge
 
Dependency Injection for Eclipse developers
Dependency Injection for Eclipse developersDependency Injection for Eclipse developers
Dependency Injection for Eclipse developersSven Efftinge
 
Challenges In Dsl Design
Challenges In Dsl DesignChallenges In Dsl Design
Challenges In Dsl DesignSven Efftinge
 
Code Generation in Agile Projects
Code Generation in Agile ProjectsCode Generation in Agile Projects
Code Generation in Agile Projects
Sven Efftinge
 
Generic Editor
Generic EditorGeneric Editor
Generic Editor
Sven Efftinge
 
Bessere Softwareentwicklung (Itemis Wintercon)
Bessere Softwareentwicklung (Itemis Wintercon)Bessere Softwareentwicklung (Itemis Wintercon)
Bessere Softwareentwicklung (Itemis Wintercon)
Sven Efftinge
 

More from Sven Efftinge (20)

Parsing Expression With Xtext
Parsing Expression With XtextParsing Expression With Xtext
Parsing Expression With Xtext
 
Language Engineering With Xtext
Language Engineering With XtextLanguage Engineering With Xtext
Language Engineering With Xtext
 
Future of Xtext
Future of XtextFuture of Xtext
Future of Xtext
 
Auto-GWT : Better GWT Programming with Xtend
Auto-GWT : Better GWT Programming with XtendAuto-GWT : Better GWT Programming with Xtend
Auto-GWT : Better GWT Programming with Xtend
 
Functional programming with Xtend
Functional programming with XtendFunctional programming with Xtend
Functional programming with Xtend
 
Codegeneration With Xtend
Codegeneration With XtendCodegeneration With Xtend
Codegeneration With Xtend
 
Gwt and Xtend
Gwt and XtendGwt and Xtend
Gwt and Xtend
 
Domain Specific Languages (EclipseCon 2012)
Domain Specific Languages (EclipseCon 2012)Domain Specific Languages (EclipseCon 2012)
Domain Specific Languages (EclipseCon 2012)
 
Xtend @ EclipseCon 2012
Xtend @ EclipseCon 2012Xtend @ EclipseCon 2012
Xtend @ EclipseCon 2012
 
Eclipse Xtend
Eclipse XtendEclipse Xtend
Eclipse Xtend
 
This Is Not Your Father's Java
This Is Not Your Father's JavaThis Is Not Your Father's Java
This Is Not Your Father's Java
 
Getting the most out of Java [Nordic Coding-2010]
Getting the most out of Java [Nordic Coding-2010]Getting the most out of Java [Nordic Coding-2010]
Getting the most out of Java [Nordic Coding-2010]
 
Xtext at MDD Day 2010
Xtext at MDD Day 2010Xtext at MDD Day 2010
Xtext at MDD Day 2010
 
Dependency Injection for Eclipse developers
Dependency Injection for Eclipse developersDependency Injection for Eclipse developers
Dependency Injection for Eclipse developers
 
Xtext Webinar
Xtext WebinarXtext Webinar
Xtext Webinar
 
Challenges In Dsl Design
Challenges In Dsl DesignChallenges In Dsl Design
Challenges In Dsl Design
 
Code Generation in Agile Projects
Code Generation in Agile ProjectsCode Generation in Agile Projects
Code Generation in Agile Projects
 
Generic Editor
Generic EditorGeneric Editor
Generic Editor
 
Eclipse Banking Day
Eclipse Banking DayEclipse Banking Day
Eclipse Banking Day
 
Bessere Softwareentwicklung (Itemis Wintercon)
Bessere Softwareentwicklung (Itemis Wintercon)Bessere Softwareentwicklung (Itemis Wintercon)
Bessere Softwareentwicklung (Itemis Wintercon)
 

Recently uploaded

Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 

Recently uploaded (20)

Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 

Xtext Eclipse Con

  • 1. Textual Modeling Framework Jan Koehnlein - Sven Efftinge itemis Wednesday, March 25, 2009
  • 3. Domain-Specific Language (DSL) A DSL is a formal, processable language targeting at a specific viewpoint or aspect of a software system. Wednesday, March 25, 2009
  • 4. Domain-Specific Language (DSL) A DSL is a formal, processable language targeting at a specific viewpoint or aspect of a software system. It’s semantics, flexibility and notation is designed in order to support working with that viewpoint as good as possible. Wednesday, March 25, 2009
  • 5. Why DSLs? • higher abstractions • avoid redundancy • separation of concerns • use domain concepts (Ubiquitous Language) Wednesday, March 25, 2009
  • 8. Complicated & Expensive ? Wednesday, March 25, 2009
  • 10. How we address this with Wednesday, March 25, 2009
  • 21. grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: (types+=Type)*; Type: Datatype | Entity; Datatype: 'datatype' name=ID; Entity: 'entity' name=ID '{' (features+=Feature)* '}'; Feature: type=[Type] name=ID; Wednesday, March 25, 2009
  • 22. Grammar Definition grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: (types+=Type)*; Type: Datatype | Entity; Datatype: 'datatype' name=ID; Entity: 'entity' name=ID '{' (features+=Feature)* '}'; Feature: type=[Type] name=ID; Wednesday, March 25, 2009
  • 23. Grammar Definition Terminal Rule Import grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: (types+=Type)*; Type: Datatype | Entity; Datatype: 'datatype' name=ID; Entity: 'entity' name=ID '{' (features+=Feature)* '}'; Feature: type=[Type] name=ID; Wednesday, March 25, 2009
  • 24. Grammar Definition Terminal Rule Import grammar org.xtext.example.MyDsl Derived with org.eclipse.xtext.common.Terminals Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: (types+=Type)*; Type: Datatype | Entity; Datatype: 'datatype' name=ID; Entity: 'entity' name=ID '{' (features+=Feature)* '}'; Feature: type=[Type] name=ID; Wednesday, March 25, 2009
  • 25. Grammar Definition Terminal Rule Import grammar org.xtext.example.MyDsl Derived with org.eclipse.xtext.common.Terminals Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: Parser (types+=Type)*; Rules Type: Datatype | Entity; Datatype: 'datatype' name=ID; Entity: 'entity' name=ID '{' (features+=Feature)* '}'; Feature: type=[Type] name=ID; Wednesday, March 25, 2009
  • 26. Grammar Definition Terminal Rule Import grammar org.xtext.example.MyDsl Derived with org.eclipse.xtext.common.Terminals Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot; Containment Reference Model: Parser (types+=Type)*; Rules Type: Datatype | Entity; Datatype: 'datatype' name=ID; Entity: 'entity' name=ID '{' (features+=Feature)* '}'; Feature: type=[Type] name=ID; Wednesday, March 25, 2009
  • 27. Grammar Definition Terminal Rule Import grammar org.xtext.example.MyDsl Derived with org.eclipse.xtext.common.Terminals Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot; Containment Reference Model: Parser (types+=Type)*; Cardinality Rules Type: Datatype | Entity; Datatype: 'datatype' name=ID; Entity: 'entity' name=ID '{' (features+=Feature)* '}'; Feature: type=[Type] name=ID; Wednesday, March 25, 2009
  • 28. Grammar Definition Terminal Rule Import grammar org.xtext.example.MyDsl Derived with org.eclipse.xtext.common.Terminals Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot; Containment Reference Model: Parser (types+=Type)*; Cardinality Rules Type: Datatype | Entity; Alternatives Datatype: 'datatype' name=ID; Entity: 'entity' name=ID '{' (features+=Feature)* '}'; Feature: type=[Type] name=ID; Wednesday, March 25, 2009
  • 29. Grammar Definition Terminal Rule Import grammar org.xtext.example.MyDsl Derived with org.eclipse.xtext.common.Terminals Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot; Containment Reference Model: Parser (types+=Type)*; Cardinality Rules Type: Datatype | Entity; Alternatives Datatype: 'datatype' name=ID; Call to Entity: Terminal 'entity' name=ID '{' (features+=Feature)* Rule '}'; Feature: type=[Type] name=ID; Wednesday, March 25, 2009
  • 30. Grammar Definition Terminal Rule Import grammar org.xtext.example.MyDsl Derived with org.eclipse.xtext.common.Terminals Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot; Containment Reference Model: Parser (types+=Type)*; Cardinality Rules Type: Datatype | Entity; Alternatives Datatype: 'datatype' name=ID; Call to Entity: Keywords Terminal 'entity' name=ID '{' (features+=Feature)* Rule '}'; Feature: type=[Type] name=ID; Wednesday, March 25, 2009
  • 31. Grammar Definition Terminal Rule Import grammar org.xtext.example.MyDsl Derived with org.eclipse.xtext.common.Terminals Metamodel generate myDsl quot;http://www.xtext.org/example/MyDslquot; Containment Reference Model: Parser (types+=Type)*; Cardinality Rules Type: Datatype | Entity; Alternatives Datatype: 'datatype' name=ID; Call to Entity: Keywords Terminal 'entity' name=ID '{' (features+=Feature)* Cross Rule '}'; Reference Feature: type=[Type] name=ID; Wednesday, March 25, 2009
  • 32. Metamodel Derivation MyDsl grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals Model generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: * Type (types+=Type)*; name: String Type: Datatype | Entity; Datatype: Datatype Entity 'datatype' name=ID; Entity: 'entity' name=ID '{' type (features+=Feature)* * '}'; Feature * name: String Feature: type=[Datatype] name=ID; Wednesday, March 25, 2009
  • 33. Metamodel Derivation MyDsl grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals Model generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: * Type (types+=Type)*; name: String Type: Datatype | Entity; Datatype: Datatype Entity 'datatype' name=ID; Entity: 'entity' name=ID '{' type (features+=Feature)* * '}'; Feature * name: String Feature: type=[Datatype] name=ID; Wednesday, March 25, 2009
  • 34. Metamodel Derivation MyDsl grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals Model generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: * Type (types+=Type)*; name: String Type: Datatype | Entity; Datatype: Datatype Entity 'datatype' name=ID; Entity: 'entity' name=ID '{' type (features+=Feature)* * '}'; Feature * name: String Feature: type=[Datatype] name=ID; Wednesday, March 25, 2009
  • 35. Metamodel Derivation MyDsl grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals Model generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: * Type (types+=Type)*; name: String Type: Datatype | Entity; Datatype: Datatype Entity 'datatype' name=ID; Entity: 'entity' name=ID '{' type (features+=Feature)* * '}'; Feature * name: String Feature: type=[Datatype] name=ID; Wednesday, March 25, 2009
  • 36. Metamodel Derivation MyDsl grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals Model generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: * Type (types+=Type)*; name: String Type: Datatype | Entity; Datatype: Datatype Entity 'datatype' name=ID; Entity: 'entity' name=ID '{' type (features+=Feature)* * '}'; Feature * name: String Feature: type=[Datatype] name=ID; Wednesday, March 25, 2009
  • 37. Metamodel Derivation MyDsl grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals Model generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: * Type (types+=Type)*; name: String Type: Datatype | Entity; Datatype: Datatype Entity 'datatype' name=ID; Entity: 'entity' name=ID '{' type (features+=Feature)* * '}'; Feature * name: String Feature: type=[Datatype] name=ID; Wednesday, March 25, 2009
  • 38. Metamodel Derivation MyDsl grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals Model generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: * Type (types+=Type)*; name: String Type: Datatype | Entity; Datatype: Datatype Entity 'datatype' name=ID; Entity: 'entity' name=ID '{' type (features+=Feature)* * '}'; Feature * name: String Feature: type=[Datatype] name=ID; Wednesday, March 25, 2009
  • 39. Metamodel Derivation MyDsl grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals Model generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: * Type (types+=Type)*; name: String Type: Datatype | Entity; Datatype: Datatype Entity 'datatype' name=ID; Entity: 'entity' name=ID '{' type (features+=Feature)* * '}'; Feature * name: String Feature: type=[Datatype] name=ID; Wednesday, March 25, 2009
  • 40. Metamodel Derivation MyDsl grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals Model generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: * Type (types+=Type)*; name: String Type: Datatype | Entity; Datatype: Datatype Entity 'datatype' name=ID; Entity: 'entity' name=ID '{' type (features+=Feature)* * '}'; Feature * name: String Feature: type=[Datatype] name=ID; Wednesday, March 25, 2009
  • 41. Metamodel Derivation MyDsl grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals Model generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: * Type (types+=Type)*; name: String Type: Datatype | Entity; Datatype: Datatype Entity 'datatype' name=ID; Entity: 'entity' name=ID '{' type (features+=Feature)* * '}'; Feature * name: String Feature: type=[Datatype] name=ID; Wednesday, March 25, 2009
  • 42. Metamodel Derivation MyDsl grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals Model generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: * Type (types+=Type)*; name: String Type: Datatype | Entity; Datatype: Datatype Entity 'datatype' name=ID; Entity: 'entity' name=ID '{' type (features+=Feature)* * '}'; Feature * name: String Feature: type=[Datatype] name=ID; Wednesday, March 25, 2009
  • 43. Metamodel Derivation MyDsl grammar org.xtext.example.MyDsl with org.eclipse.xtext.common.Terminals Model generate myDsl quot;http://www.xtext.org/example/MyDslquot; Model: * Type (types+=Type)*; name: String Type: Datatype | Entity; Datatype: Datatype Entity 'datatype' name=ID; Entity: 'entity' name=ID '{' type (features+=Feature)* * '}'; Feature * name: String Feature: type=[Datatype] name=ID; Wednesday, March 25, 2009
  • 45. Based on the grammar and Ecore models, Xtext provides you with sensible default implementations. licensed by http://www.wordle.net/ Wednesday, March 25, 2009
  • 51. Customizing the LabelProvider public class MySpecialLabelProvider extends DefaultLabelProvider { public String label(Feature f) { return f.getName()+quot;:quot;+f.getType().getName(); } } ‣Naming Convention ‣Polymorphic Dispatch ‣Fault tolerance Wednesday, March 25, 2009
  • 54. Dependency management licensed by http://www.wordle.net/ Wednesday, March 25, 2009
  • 55. Dependency management licensed by http://www.wordle.net/ Wednesday, March 25, 2009
  • 56. Dependency management licensed by http://www.wordle.net/ Wednesday, March 25, 2009
  • 57. Dependency management licensed by http://www.wordle.net/ Wednesday, March 25, 2009
  • 58. Dependency management licensed by http://www.wordle.net/ Wednesday, March 25, 2009
  • 59. MyCustomLabelProvider licensed by http://www.wordle.net/ Wednesday, March 25, 2009
  • 60. Dependency Injection with Google fGuice Wednesday, March 25, 2009
  • 61. Dependency Injection with Google fGuice Wednesday, March 25, 2009
  • 62. Dependency Injection with Google fGuice ‣No dependency to concrete implementation Wednesday, March 25, 2009
  • 63. Dependency Injection with Google fGuice ‣No dependency to concrete implementation ‣No explicit construction Wednesday, March 25, 2009
  • 64. Dependency Injection with Google fGuice ‣No dependency to concrete implementation ‣No explicit construction ‣Easy testing Wednesday, March 25, 2009
  • 65. Dependency Injection with Google fGuice ‣No dependency to concrete implementation ‣No explicit construction ‣Easy testing ‣Easy composition Wednesday, March 25, 2009
  • 66. Configuration of Components in Xtext AbstractDeclarativeModule DefaultRuntimeModule DefaultUIModule From Xtext Your Project GeneratedRuntimeModule GeneratedUIModule RuntimeModule UIModule Wednesday, March 25, 2009
  • 67. Configuration of Components in Xtext /** * used to register components to be used within the IDE. */ public class DomainmodelUiModule extends GeneratedDomainmodelUiModule { @Override public Class<? extends ILabelProvider> bindILabelProvider() { return MySpecialLabelProvider.class; } } Wednesday, March 25, 2009
  • 68. and Equinox Injector is created during Bundle.start(...) @Override public void start(BundleContext context) throws Exception { super.start(context); INSTANCE = this; injector = Guice.createInjector( new DomainmodelRuntimeModule(), new DomainmodelUiModule()); } Wednesday, March 25, 2009
  • 69. and Equinox ExecutableExtensions are created via IExecutableExtensionFactory <extension point=quot;org.eclipse.emf.ecore.extension_parserquot;> <parser class=quot;my.pack.DomainmodelExecutableExtensionFactory: org.eclipse.xtext.resource.XtextResourceFactoryquot; type=quot;dmodelquot;> </parser> </extension> Wednesday, March 25, 2009
  • 70. Composable Code Generator ‣ generator is composed of “fragments” Wednesday, March 25, 2009
  • 71. Composable Code Generator ‣ generator is composed of “fragments” ‣ fragments can contribute to: Wednesday, March 25, 2009
  • 72. Composable Code Generator ‣ generator is composed of “fragments” ‣ fragments can contribute to: ‣ Manifest.MF Wednesday, March 25, 2009
  • 73. Composable Code Generator ‣ generator is composed of “fragments” ‣ fragments can contribute to: ‣ Manifest.MF ‣ plugin.xml Wednesday, March 25, 2009
  • 74. Composable Code Generator ‣ generator is composed of “fragments” ‣ fragments can contribute to: ‣ Manifest.MF ‣ plugin.xml ‣ Guice modules Wednesday, March 25, 2009
  • 75. Composable Code Generator ‣ generator is composed of “fragments” ‣ fragments can contribute to: ‣ Manifest.MF ‣ plugin.xml ‣ Guice modules ‣ Add your own fragments Wednesday, March 25, 2009
  • 78. Galileo • Index Wednesday, March 25, 2009
  • 79. Galileo • Index • Enum Rules Wednesday, March 25, 2009
  • 80. Galileo • Index • Enum Rules • Bug fixing / Performance Tuning Wednesday, March 25, 2009
  • 81. Galileo • Index • Enum Rules • Bug fixing / Performance Tuning • Documentation Wednesday, March 25, 2009
  • 82. Galileo • Index • Enum Rules • Bug fixing / Performance Tuning • Documentation • Sugar (Wizards, Tutorials, etc.) Wednesday, March 25, 2009
  • 84. Post Galileo ‣ More UI features Wednesday, March 25, 2009
  • 85. Post Galileo ‣ More UI features ‣Basic Language Libraries Wednesday, March 25, 2009
  • 86. Post Galileo ‣ More UI features ‣Basic Language Libraries ‣“Eat your own dog food” continued Wednesday, March 25, 2009
  • 87. Thank you very much for listening Visit the project’s web site : www.xtext.org Copyright 2009 by itemis Wednesday, March 25, 2009

Editor's Notes