This is a wonderful article on the use of an "M" grammar to parse a set of rules specific to credit card validation and then parse those rules at run-time to drive a framework for doing the validation itself. The article does a marvelous job of motivating the use of a custom DSL for construction and validation by non-engineers and then lays out the entire grammar and C# loader code. Recommended.
Here. Learn how Web developers can use "M", a new language for describing data, metadata and domain specific languages, to enhance RESTful services like HTTP, JSON, RSS/Atom, and more. Also see how "M" can be used on premise or in the cloud to achieve greater development productivity and to create more compelling customer experiences. Speakers: Douglas Purdy & Chris Sells
Here. Doug Purdy and Chris Sells will be giving their Mix '09 talk on Friday, March 20th at 9am in San Polo 3501. Doug will be talking about RESTful services and clients using "M", the language of "Oslo". Chris will be typing furiously trying to keep up. Come one, come all! Plus, free hugs from Doug to anyone that mentions this post!
Learn how Web developers can use “M”, a new language for describing data, metadata and domain specific languages, to enhance RESTful services like HTTP, JSON, RSS/Atom, and more. Also see how “M” can be used on premise or in the cloud to achieve greater development productivity and to create more compelling customer experiences.