This page is a Draft, its content is not complete and might contain errors.
M is a part of Microsoft's Oslo Initiative."M" is a new declarative language that provides developers with an approachable, textual format for authoring models and DSLs for those models. The "M" language consists of three parts:
MGraph,
MSchema and
MGrammar.
MGraph is used to write down values in a graph structure similar to syntaxes like JSON.
MSchema builds on MGraph by providing a structural type system, extent declarations for storing values, and computed values, which are queries over values and extents.
MGrammar is used to describe a domain-specific language in terms of token and syntax rules, which are then used to parse text into an MGraph.
EditMGrammar
MGrammar is a language used to describe external textual DSLs that can be used to generate MGraph, and M code. Running
Intellipad with samples enabled allows users to preview the MGraph generated when an instance of a DSL is interpreted through a Grammar.
EditExternal Links
The Oslo Developer Center: Letter from the Editors