m

Any insight on Microsoft's new M programming language?

Does anyone have any insight on microsoft's new M programming language? Why? What type? When? What? ...

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*; ...

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 ...

Interesting uses of M?

I know M is a new language from Microsoft that's targeted as a modeling solution but I'm still a bit fuzzy on usage / rationale / advantages. That's why I'm looking for interesting things that people have done with M, so I can understand it better. ...

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...

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. ...

What is M language ?

Hi All, Microsoft has M language. Can someone explain the use of M, why it is useful and what a programmer of C# can benifit from M. ...

VS2010 CTRL+M keyboard shortcut has stopped working.

I have a strange problem which seems to have recently appeared. I used to be able to press the keyboard shortcut CTRL+M+O to 'collapse to definitions' in VS2010 when editing code, but it seems suddenly the CTRL+M key seems to have stopped working. When I now press the key combination I get the Open File dialogue. I have tried the obvio...