Sirius: Graphical Editors for your DSLs

2,369 views
2,099 views

Published on

Presented at the

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,369
On SlideShare
0
From Embeds
0
Number of Embeds
42
Actions
Shares
0
Downloads
30
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Sirius: Graphical Editors for your DSLs

  1. 1. Sirius graphical editors for your DSL Polarsys Day December 3rd, 2013 Mikaël Barbero Obeo
  2. 2. 1 Domain Specific Language
  3. 3. Domain Specific Language Introduction to DSLs borrowed from http://www.slideshare.net/peterfriese/overcoming-the-impedance-mismatch-between-source-code-and-architecture
  4. 4. Domain Specific Language
  5. 5. Imagine you want to peal an apple…
  6. 6. What is the appropriate tool?
  7. 7. Your good old Swiss army knife!
  8. 8. Because it does so many things!
  9. 9. Imagine you want to peal a bit more apples…
  10. 10. Is it still the best tool?
  11. 11. Better use this one…
  12. 12. and this one!
  13. 13. while avoiding the unitasker
  14. 14. Domain Specific Language
  15. 15. =
  16. 16. SELECT name, salary, age FROM person WHERE salary > 2000 ORDER BY salary, age
  17. 17. all: hello ! hello: main.o factorial.o hello.o g++ main.o factorial.o hello.o -o hello ! main.o: main.cpp g++ -c main.cpp ! factorial.o: factorial.cpp g++ -c factorial.cpp
  18. 18. Domain Specific Language
  19. 19. $ $
  20. 20. $ $
  21. 21. Sirius
  22. 22. Sirius
  23. 23. 2 Introducing Sirius
  24. 24. In a nutshell Tool to quickly define custom multi-view workbenches Based on Eclipse Modeling technology stack New Eclipse Project Based on graphical editors / modelers No need to be an expert for most uses But already proven technology
  25. 25. In a nutshell Tool to quickly define custom multi-view workbenches Based on Eclipse Modeling technology stack New Eclipse Project Based on graphical editors / modelers No need to be an expert for most uses But already proven technology
  26. 26. In a nutshell Tool to quickly define custom multi-view workbenches Based on Eclipse Modeling technology stack New Eclipse Project Based on graphical editors / modelers No need to be an expert for most uses But already proven technology
  27. 27. In a nutshell Tool to quickly define custom multi-view workbenches Based on Eclipse Modeling technology stack New Eclipse Project Based on graphical editors / modelers No need to be an expert for most uses But already proven technology
  28. 28. What benefits? Developers End users Reduce cost and complexity Tools adapted to their needs and workflows No need to be a GMF expert Improved experience (compared to raw GMF) Dynamic and iterative (live) development Common experience across multiple DSLs
  29. 29. What benefits? Developers End users Reduce cost and complexity Tools adapted to their needs and workflows No need to be a GMF expert Improved experience (compared to raw GMF) Dynamic and iterative (live) development Common experience across multiple DSLs
  30. 30. What benefits? Developers End users Reduce cost and complexity Tools adapted to their needs and workflows No need to be a GMF expert Improved experience (compared to raw GMF) Dynamic and iterative (live) development Common experience across multiple DSLs
  31. 31. What benefits? Developers End users Reduce cost and complexity Tools adapted to their needs and workflows No need to be a GMF expert Improved experience (compared to raw GMF) Dynamic and iterative (live) development Common experience across multiple DSLs
  32. 32. What benefits? Developers End users Reduce cost and complexity Tools adapted to their needs and workflows No need to be a GMF expert Improved experience (compared to raw GMF) Dynamic and iterative (live) development Common experience across multiple DSLs
  33. 33. What benefits? Developers End users Reduce cost and complexity Tools adapted to their needs and workflows No need to be a GMF expert Improved experience (compared to raw GMF) Dynamic and iterative (live) development Common experience across multiple DSLs
  34. 34. What benefits? Developers End users Reduce cost and complexity Tools adapted to their needs and workflows No need to be a GMF expert Improved experience (compared to raw GMF) Dynamic and iterative (live) development Common experience across multiple DSLs
  35. 35. What benefits? Developers End users Reduce cost and complexity Tools adapted to their needs and workflows No need to be a GMF expert Improved experience (compared to raw GMF) Dynamic and iterative (live) development Common experience across multiple DSLs
  36. 36. Two parts for two kinds of users Specification environment Runtime environment (Specifier / Developer) (End-user)
  37. 37. The Specification Environment • Define custom multi-view workbenches • • • Diagrams, Trees, Tables With little technical knowledge Get a working modeler fast • • Instant feedback Highly customizable • Native tooling • Java or extension points
  38. 38. The Runtime Environment • Executes the specification • • Environment adapted to user needs • • No code generation Viewpoint-based Simplified workflow • Modeling Project
  39. 39. Showtime
  40. 40. 3 History & Plans
  41. 41. e 2009 Sinc
  42. 42. Obeo Designer Obeo’s flagship commercial product that is embedding the Sirius technology
  43. 43. Viewpoint The name of the Sirius technology within Obeo Designer at that time
  44. 44. 2013 The Viewpoint technology is made open-source as an Eclipse project: Sirius
  45. 45. 5 Modeling Workbenches
  46. 46. 500+ Diagrams in some Models
  47. 47. 1.3M+ Elements in Biggest Models
  48. 48. 4 Conclusion
  49. 49. Sirius What you should remember • • • Full featured environment to create custom graphical modelers Mature, many deployments Official Eclipse project
  50. 50. http://www.eclipse.org/sirius/ http://www.obeodesigner.com/ http://www.obeo.fr

×