Article: Writing A Texual DSL Using 'OSLO'
Microsoft unveiled the building blocks of their “OSLO” vision during the PDC event in Los Angeles in October. As the article explains
Oslo has three main components:
- A modeling language M for textual DSLs
- Quadrant a design surface for graphical DSLs
- A relational database repository that stores these models.
The textual language development consists of is a three core languages, technically two that any given developer can author in:
- MGrammar: defines grammars for Syntax Directed Translation.
- MSchema: Is a language that defines schemas for a Semantic Model, that, model-aware runtimes can use.
- MGraph: represents an object graph of a translation of a given textual input against a parser defined using MGrammar.
This article is an attempt to try and use the MGrammar language to write our own language, a DSL, for expressing dates in natural language using the OSLO tool chain.
Oslo and DDD
by
Colin Jack
Do you know of any examples because from what I've seen this approach is a bit of a red herring. Not saying its not possible but are you saying completely do away with a normal object-oriented domain model and do everything in Oslo?
Re: Oslo and DDD
by
Dilip Krishnan
Now there is a plethora of such tiny domain models scattered across the applications thats consumed by different pieces in the application. At the most basic level OSLO tries to solve the problem of configuration at a platform level (model assisted). Now, when we take this notion to the next level where the application runtime is aware of these models as a whole, you get a different class of applications that is model aware. This is not to say that no object-oriented development is required, as one still needs to create the application runtime. OSLO gives a standard way to define these models and store/retrieve them.
Educational Content
Building Hypermedia APIs with HTML
Jon Moore Jun 19, 2013
Deleting Code at Nokia
Tom Coupland Jun 19, 2013
Intro to CLP with core.logic
Ryan Senior Jun 18, 2013
Spock: A Highly Logical Way To Test
Howard Lewis Ship Jun 18, 2013
Java Garbage Collection Distilled
Martin Thompson Jun 17, 2013




Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think