oslo

Composite Oriented Programming (COP), .NET 4.0, MEF, and the Oslo Repository

There seems to have been some interest over the past year around COP within the .NET community (ala Qi4j). A few folks have rolled there own COP frameworks (see links below) and it would appear .NET 4.0's Dynamic Dispatch and MEF might have a potential role in any .NET COP framework. On one hand a lot of this would appear to hark back ...

Is transforming internal DSL to external DSL anti-pattern?

In our legacy system, we wrote our own VM to execute our internal DSL at run time. The in-house VM was designed to run our internal DSL only. We are in the process of rewriting our legacy application. One of the idea we are considering is, to transform our internal DSL to external DSL (C# or Java) and take advantage of their VM. There ...

Am I destined to develop in XML?

Based on what I've seen on Oslo, declarative XML will have a key role. Can I expect to be mucking around a lot of designer generated XML to create real world applications? Just know I haven't researched this. I would just appreaciate your perspective if you have examined the subject. Some background... Whenever I dig just under the sk...

Explanation of Oslo error "M0197: 'Text' cannot be used in a Type context"?

In Microsoft Oslo SDK CTP 2008 (using Intellipad) the following code compiles fine: module M { type T { Text : Text; } } while compiling the below code leads to the error "M0197: 'Text' cannot be used in a Type context" module M { type T { Text : Text; Value : Text; // error } } I do not see...

Explanation of Oslo error "M2037: SQL Generation Internal Error: Missing generator for variable"?

In Microsoft Oslo SDK CTP 2008 (using Intellipad) the following code compiles fine: module T { type A { Id : Integer32 = AutoNumber(); } where identity Id; As : A*; type B { Id : Integer32 = AutoNumber(); // A : A; // } where A in As && identity Id; } where identity Id; Bs : B*; ...

Is Oslo going to make the role of developer obsolete?

Before, during, and after The PDC there was plenty of talk about Model-Driven Development bringing about the obsolescence of "the developer" as we know it today. Many people are saying that because of tools like Oslo making Model Driven Development easier, "business people" will be writing applications via modeling tools instead of code...

What is model driven development good for?

Microsoft, of Cairo fame, is working on Oslo, a new modeling platform. Bob Muglia, Senior Vice President of Microsoft Server & Tools Business, states that the benefits of modeling have always been clear. In simple, practical terms, what are the clear benefits that Oslo bestows upon its users? ...

What advantages does using Oslo and M have and when would you use it?

After attending a talk on Oslo/M I am struggling a bit to see the advantages of using it over existing methods and in what situation it would be useful. I know its quite new and not all details have been released etc but can some one give me some advantages and when you might use it? Thanks, Alex ...

What is Microsoft OSLO?

Is it a DSL generation tool or natural query language? ...

Oslo's Intellipad: How to set up the 3 column MGrammarMode?

I've been using Oslo for MSchema. Works great. I can write an M Schema for a database design and it generates T-SQL to build the entire db with PKs, FKs, checks for integrity etc. I've set up a .bat file to compile the .m into .mx then load it into the db, then run SqlMetal into my project and in 30 seconds I'm moving on with my chang...

Will I be able to create dynamic classes at runtime in Oslo?

For instance, will I be able to create an application that allows users to create and modify existing types at runtime? Will I be able to persist instances of those types in SQL without having to worry about the user who adds 100,000 records and expects a (really) fast query on them? Think SharePoint Content Types... but on steroids. Os...

What do you think about Microsoft Oslo MGraph?

MGraph is a great textual data format brought by Microsoft "Oslo". Do you think it has a chance to get as broad as XML is today? Example (Google Geocode): { name = "waltrop, lehmstr 1d", Status { code = 200, request: "geocode" }, Placemark [ { id = "p1", address = "Lehmstraße, 45731 Wa...

T4 vs CodeDom vs Oslo

In an application scaffolding project on which I'm working, I'm trying to decide whether to use Oslo, T4 or CodeDom for generating code. Our goals are to keep dependencies to a minimum and drive code generation for a domain driven design from user stories. The first step will be to create the tests from the user stories, but we want the ...

Shift reduce and reduce reduce conflicts

I'm having a hard time wrapping my head around this and need some help understanding shift reduce and reduce reduce conflicts. I have a grammar which I can't seem to understand why it's problematic. I could attach the grammar, but I want to learn how this really works. First question, what type of parser does MGrammer create? As I under...

What problems will Microsoft's Oslo project solve?

I watched few videos/webcasts about "Oslo" but I still fail to see how it all comes together. I understand that Oslo is a modeling platform. What's the process to create a DSL? Is it more than just a tool to create DSLs? I understand that MGramma is used to create a DSL's syntax. What is M language for? What is MSchema? After ...

What is the difference between "DSL Tools" and "Oslo"?

Hi, I've just started playing with domain-specific tools development, and I'm playing with Visual Studio SDK DSL Tools. However, I heard that Microsoft have another initiative into domain-specific development called "Oslo". My impression is that DSL Tools is focused on graphical domain-specific languages, whereas Oslo is focused on tex...

Is there a better way to define a decimal in an MGrammar?

I'm working on a DSL in Microsoft's new M Grammar, and it needs to allow decimal values. I've defined decimal as token digits = "0".."9"; token spot = "."; token decimal = digits+ | digits+ spot digits+ | spot digits+; That seems to work, but is there a better way? It just feels like I'm missing something. ...

MGrammar for parsing IF statement

I am building up a MGrammar spec to parse some pseudo code looking for particular bits of information. I have most of the spec working except for 1 cruical element. The pseudo code supports an if-then-else syntax and I have been unable to find a satisfactory way of parsing it. The exact construct is... IF expression operator expres...

Is there a way to parse a T-SQL select statement with the "Oslo" M runtime?

Searching around the Microsoft.M assembly I found the SourceParser class and whole set of classes in the Microsoft.TSQL10 namespace that seem related to parsing SQL but I cannot find examples of how to use it. I know the you can generate T-SQL easily enough, but can you consume it, manipulate the data structure and re-output a modified ...

Microsoft Codename?

Hello, Today I was walking at the MSDN Forums and I see two very strange forums, Microsoft Codename 'Oslo' and Microsoft Codename 'Dublin', what is this? what they do? ...