TL27: `Oslo` – The LanguageBuilding Domain Models

TL27
 David Langworthy
Architect
Microsoft Corporation
 Don Box
Distinguished Engineer
Microsoft Corporation
The platform for model-driven applications
“M”
Modeling language
“Quadrant”
Modeling tool
Repository
Model store











DSL
Point.m
Domain Model
DSLX
GPSLanguage.mg
Domain Grammar
"M"
Domain-specific data models
MSchema
Domain-specific grammars
MGrammar
Abstract data model
MGraph
DomainX.m
Domain Model
DSLY
DomainX.mg
Domain Grammar
DomainY.m
Domain Model
DomainY.mg
Domain Grammar
type Point {
X : Integer where X < 100;
Y : Integer?;
DistanceFromOrigin() { SQRT(X*X + Y*Y) }
}
language GPSLanguage {
syntax Main = h:Integer ("," v:Integer)?
=> Point { X { h }, Y { v }};
}
Point { X { 100 }, Y { 200 } }









ModelA.m
ModelB.m
M.exe
MX.exe
Domain Model
Compiler
Domain Model
Loader
ModelC.m
ModelABC.m
x
M
Framework
M
Framework
SQL
Server











SEE THE OTHER TALKS
“Oslo”: The Language
“Oslo”: Customizing and Extending the Visual Design Experience
“Oslo”: Repository & Models
“Oslo”: Building Textual DSLs
USE THE BITS
VPC in the “Goods” Hard Drive
http://msdn.microsoft.com/oslo
GIVE US FEEDBACK
[email protected]
[email protected]
www.microsoftpdc.com
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market
conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.
MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.