Search Wiki:
This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen Blog.

In this sample, the file m.mg contains the full expression of the Microsoft code name "M" modeling language's grammar, essentially offering a distilled version of the "M" modeling language specification. Once compiled, it can be used to process an input text file written in "M" using the mgx.exe command-line utility. For details, see Using "M" Tools for Creating Languages in the MSDN Library (http://msdn.microsoft.com/en-us/library/dd857692(VS.85).aspx).

The file mg.mg contains the full expression of the "M languages portion of the "M" modeling language, essentially offering a distilled version of that part of the language specification. Once compiled, it can be used to process other grammars (.mg files) using the mgx.exe command-line utility. For general details on this process, also see the previous link.

The files Language.Base.mg and Language.Grammar.mg are also included in this sample. These are built directly into the "M" compiler and which define the basic tokens and rules for the "M" language. As such, these grammars are inherently included in all compilations of "M" code and all other processing of input text against custom grammars. They are provided here for reference purposes and need not be built or deployed independently, nor do they need to be referenced directly in other projects.

For complete details on all aspects of the "M" modeling language, refer to The "M" Modeling Language Specification at http://msdn.microsoft.com/en-us/library/dd285282.aspx.

Last edited Sep 27 2010 at 6:19 PM  by kraigb, version 5
Updating...
Page view tracker