Share via


Creating Custom Languages

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

Computer applications sometimes manage complex problem domains that require specialized expertise. Often it is easier to support these domains by creating a domain specific language (DSL), which is tailored to the requirements of that problem domain. Defining a language has traditionally been a difficult task. It requires domain expertise to define a semantic model and it used to require specialized skill in defining the syntax, and creating a language parser.

MGrammar greatly simplifies defining your language's syntax and creating a parser. MGrammar is itself a language for defining language syntax. MGrammar allows you specify what the language's tokens are and the rules for combining them. In essence, a language is a collection of rules for imposing structure on text input.

In This Section

  • Input Processing
    Includes topics that describe a number of ways to process inputs in a concise and compact way.

Reference