Share via


Input Processing

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

Creating a domain specific language (DSL) involves specifying a grammar that defines the rules for parsing input text streams, validating them, and creating an output syntax tree. In defining a grammar rule, you can specify inputs that cause a rule to be applied. MGrammar provides a number of ways to describe these inputs in a concise and compact way.

In This Section

  • Rules
    Discusses the types of rules used in the Microsoft code name “M” modeling language.
  • Literals
    Describes and shows how to use literals in the “M” modeling language.
  • Alternation
    Describes and shows how to use alternation in the “M” modeling language.
  • Grouping
    Show two examples of grouping in the “M” modeling language.
  • Ranges
    Describes ranges and how they are used in the “M” modeling language.
  • Repetition
    Describes and shows how to use repetition in the “M” modeling language.