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 Song.mg contains the grammar for a language called "Song", a simple means of describing basic musical notation.

Once compiled, it can be used to process an input text file written in the "Song" language using the mgx.exe command-line utility. For details, see Using "M" Tools for Creating Languages in the MSDN Library at http://msdnstage.redmond.corp.microsoft.com/en-us/library/dd857692(VS.85).aspx.

This sample also includes a small C# console application that demonstrates dynamic parsing and execution of "Song" language code using Console.Beep.
Last edited Sep 27 2010 at 6:28 PM  by kraigb, version 4
Updating...
Page view tracker