SlideShare a Scribd company logo
5
Most read
13
Most read
15
Most read
ARText.
ARText
BMW Car IT
11/20/09
Page 1


             Driving developments with Xtext.




             Sebastian.Benz@bmw-carit.de
             Dana.Wong@bmw-carit.de
AUTOSAR.
ARText
BMW Car IT
11/20/09
Page 2
             Automotive Open Systems Architecture.
AUTOSAR.
ARText
BMW Car IT
11/20/09
Page 3
             Automotive Open Systems Architecture.



              Application                      Application   Application
               Software                         Software      Software
              Component          AUTOSAR       Component     Component
                                SOFTWARE
               AUTOSAR                         AUTOSAR          AUTOSAR
                Interface                       Interface        Interface


                               AUTOSAR Modeling Language
                            AUTOSAR Runtime Environment (RTE)

                                      Basic Software

                                      ECU-Hardware
AUTOSAR.
ARText
BMW Car IT
11/20/09
Page 4
             Modeling AUTOSAR Systems.
Goal.
ARText
BMW Car IT
11/20/09
Page 5
             A Textual Language for AUTOSAR.

             package AUTOSAR.components

             component atomic myComponent {
                ports {
                    sender sPort provides mySRInterface
                    receiver rPort requires mySRInterface
                }
             }

             composition System {
                prototype myComponent comp1
                prototype myComponent comp2
                connect comp1.sPort to comp2.rPort
                connect comp2.sPort to comp1.rPort
             }
AUTOSAR Textual Language.
ARText
BMW Car IT
11/20/09
Page 6
             There is an Eclipse Project for that…
AUTOSAR Textual Language.
ARText
BMW Car IT
11/20/09
Page 7
             Challenges.

             1.  Performance




             2. Workspace integration




             3. Metamodel support
Xtext.
ARText
BMW Car IT
11/20/09
Page 8
             Performance.

             Time for parsing a series model (1500 files):


                oAW                                          240s




                TMF        14s
AUTOSAR Tool Platform.
ARText
BMW Car IT
11/20/09
Page 9
             Integration into Artop.




                                   Artop
                                  Eclipse
Artop.
ARText
BMW Car IT
11/20/09
Page 10
             Workspace Integration.




                                      On-the-fly model transformation
Artop.
ARText
BMW Car IT
11/20/09
Page 11
             Workspace Integration.




                                      components.artext




                                      components.arxml
The AUTOSAR Dilemma.
ARText
BMW Car IT
11/20/09
Page 12
             Handling different AUTOSAR Releases.
The AUTOSAR Dilemma.
ARText
BMW Car IT
11/20/09
Page 13
             Supporting different AUTOSAR Releases.




                                      components.artext




                                      components.arxml

                                              AUTOSAR 2.1


                                                AUTOSAR 3.x


                                                   AUTOSAR 4.0
Supporting different AUTOSAR Releases.
ARText
BMW Car IT
11/20/09
Page 14
             The Linking DSL.
The AUTOSAR Dilemma.
ARText
BMW Car IT
11/20/09
Page 15
             Metamodel Differences.




                        AUTOSAR 2.x


                            ARText    3.x
                                            4.0

                                            Release specific
                                            Extensions
Supporting different AUTOSAR Releases.
ARText
BMW Car IT
11/20/09
Page 16
             Language Extensions.


             TCompositionType:
                'composition' name=ID '{'
                    (...|
                    extensionPoints += TExtensionPoint)*
                '}'
             ;

             TExtensionPoint:
                keyword=ID (args+=TArg (',' args+=TArg)* )?;


             TArg:
                ListLiteral | BoolLiteral | StringLiteral |...;
Supporting different AUTOSAR Releases.
ARText
BMW Car IT
11/20/09
Page 17
             Language Extensions.
Supporting different AUTOSAR Releases.
ARText
BMW Car IT
11/20/09
Page 18
              Language Extensions.

             @ArtextExtension(
                    artextElement = TCompositionType.class,
                    keyword = "checksum",
                    params = { "the checksum" }
             )
             public void execute(CompositionType container, String checksum){
                    i.setChecksum(theChecksum);
             }
Results.
ARText
BMW Car IT
11/20/09
Page 19
             Modeling Efficiency.

             # Mouse Clicks:
                      ARText
             Commercial Tool


             # Key presses:
                      ARText
             Commercial Tool


             Modeling time (min):

                      ARText
             Commercial Tool
Summary.
ARText
BMW Car IT
11/20/09
Page 20
             Using Xtext in practice.

             Scalable: handles large projects.




             Extendable: thanks to Guice
             non-trivial customizations are possible.




             Efficent: short development time.
Thank you for your attention.
ARText
BMW Car IT
11/20/09
Page 21
             Questions?

More Related Content

PDF
50 Ways To Love Your Project
PDF
Study on Android Emulator
PDF
I2c drivers
PDF
Splash screen for Embedded Linux 101: How to customize your boot sequence
PPTX
Automating AWS Infrastructure Provisioning Using Concourse and Terraform
PPTX
Custom duty
PPT
Gst and its features
PDF
income from house property full pdf for study
50 Ways To Love Your Project
Study on Android Emulator
I2c drivers
Splash screen for Embedded Linux 101: How to customize your boot sequence
Automating AWS Infrastructure Provisioning Using Concourse and Terraform
Custom duty
Gst and its features
income from house property full pdf for study

Viewers also liked (20)

PDF
Parsing Expression With Xtext
KEY
Xtext Best Practices
PDF
Code retreat @BMW Car IT
PDF
PDF
Scoping Tips and Tricks
KEY
Java Performance MythBusters
PDF
Getting rid of backtracking
PDF
Extending the Xbase Typesystem
PDF
The Xtext Grammar Language
PDF
Recipes to build Code Generators for Non-Xtext Models with Xtend
KEY
EMF - Beyond The Basics
DOC
EMF Tips n Tricks
PDF
DSLs for Java Developers
PDF
Serializing EMF models with Xtext
PDF
Graphical Views For Xtext With FXDiagram
KEY
Xtend - A Language Made for Java Developers
PDF
Jazoon 2010 - Building DSLs with Eclipse
PDF
Graphical Views For Xtext
PPTX
Enhancing Xtext for General Purpose Languages
PDF
Eclipse DemoCamp in Paris: Language Development with Xtext
Parsing Expression With Xtext
Xtext Best Practices
Code retreat @BMW Car IT
Scoping Tips and Tricks
Java Performance MythBusters
Getting rid of backtracking
Extending the Xbase Typesystem
The Xtext Grammar Language
Recipes to build Code Generators for Non-Xtext Models with Xtend
EMF - Beyond The Basics
EMF Tips n Tricks
DSLs for Java Developers
Serializing EMF models with Xtext
Graphical Views For Xtext With FXDiagram
Xtend - A Language Made for Java Developers
Jazoon 2010 - Building DSLs with Eclipse
Graphical Views For Xtext
Enhancing Xtext for General Purpose Languages
Eclipse DemoCamp in Paris: Language Development with Xtext
Ad

Similar to ARText - Driving Developments with Xtext (20)

PDF
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
PDF
SPE-in-Automotive_BMW_K.-Matthews.pdf13.pdf
PDF
How To Use AGL CAN Signal
PDF
SOME_IP_29408.pdf
PDF
Release notes BMW ICOM ISTA-P 3.63.3
PDF
In-Vehicle Networking : a Survey and Look Forward
PDF
In‐Vehicle Networking: a Survey and Look Forward
PDF
Original digimaster 3 digimaster iii odometer correction master with 980 tokens
PDF
Digimaster iii, digimaster3,digimaster 3
PDF
International Conference Automotive BUS Systems + Ethernet
PDF
Under the Hood: Model-Based Development in the Automotive Industry by Darren ...
PPT
Ae08 system vb_script
PDF
asmjit - Complete x86 x64 JIT Assembler for C++.pdf
PDF
opening-remarks-From Vehicle Centric to People Centric.pdf
KEY
Exploring variation mechanisms in the automotive industry: a case study
PDF
Principles of a vehicle infotainment platform - Hans-Ulrich Michel, BMW
PDF
Ike al akraino autonomous cars workshop july 27 2021 pa10 akraino
PDF
Ike Alisson LF Edge Akraino Autonomous Cars Workshop July 27 2021 pa10 akraino
PPTX
ScaleConf 2015 - Tim Park - From Screens to Context (Connected Car)
PPTX
CAN (Controller Area Network)
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
SPE-in-Automotive_BMW_K.-Matthews.pdf13.pdf
How To Use AGL CAN Signal
SOME_IP_29408.pdf
Release notes BMW ICOM ISTA-P 3.63.3
In-Vehicle Networking : a Survey and Look Forward
In‐Vehicle Networking: a Survey and Look Forward
Original digimaster 3 digimaster iii odometer correction master with 980 tokens
Digimaster iii, digimaster3,digimaster 3
International Conference Automotive BUS Systems + Ethernet
Under the Hood: Model-Based Development in the Automotive Industry by Darren ...
Ae08 system vb_script
asmjit - Complete x86 x64 JIT Assembler for C++.pdf
opening-remarks-From Vehicle Centric to People Centric.pdf
Exploring variation mechanisms in the automotive industry: a case study
Principles of a vehicle infotainment platform - Hans-Ulrich Michel, BMW
Ike al akraino autonomous cars workshop july 27 2021 pa10 akraino
Ike Alisson LF Edge Akraino Autonomous Cars Workshop July 27 2021 pa10 akraino
ScaleConf 2015 - Tim Park - From Screens to Context (Connected Car)
CAN (Controller Area Network)
Ad

Recently uploaded (20)

PPTX
Big Data Technologies - Introduction.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPT
Teaching material agriculture food technology
PDF
cuic standard and advanced reporting.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
A Presentation on Artificial Intelligence
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Big Data Technologies - Introduction.pptx
The AUB Centre for AI in Media Proposal.docx
Reach Out and Touch Someone: Haptics and Empathic Computing
Diabetes mellitus diagnosis method based random forest with bat algorithm
Chapter 3 Spatial Domain Image Processing.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Teaching material agriculture food technology
cuic standard and advanced reporting.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Mobile App Security Testing_ A Comprehensive Guide.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Approach and Philosophy of On baking technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
The Rise and Fall of 3GPP – Time for a Sabbatical?
NewMind AI Monthly Chronicles - July 2025
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
A Presentation on Artificial Intelligence
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

ARText - Driving Developments with Xtext

Editor's Notes

  • #4: Basic Software and Software Components are specified in an AUTOSAR modeling language.
  • #5: The AUTOSAR metamodel is complex. Abstraction are required for efficient modeling.
  • #6: A textual language is only as good as it‘s tooling => Goal is to create a language and a tool
  • #9: The new xtext version is clearly able to handle large projects.
  • #10: http://www.artop.org
  • #12: From a tooling point of view, the code completion proposals must come from other artext files as well as other autosar resources. But the problem gets even worse...
  • #13: AUTOSAR is not a one lane road, it is a three lane road. There are different revisions of the AUTOSAR standard: 2, 3 and the upcoming 4.0 which all must be supported by ARText. Our language must support different metamodel releases Reference to COPE
  • #15: The information specified in the linking file is used for Scoping, Validation and Linking during transformation.