This is an interesting blog entry on Clipcode-GoF-DSL and the One-To-One Mapping Anti-Pattern. To quote:
Last week Eamon O'Tuathail of Clipcode released a Domain Specific Language (DSL) for some of the Gang of Four design patterns using the Microsoft DSL Tools for Visual Studio 2005.
It is indeed a very remarkable proof of concept and although the implementation is still pretty rough, it represents a valuable model for discussion and learning.
Also:
The DSL designer currently allows setup and code generation for five patterns:
- Abstract Factory
- Builder
- Factory Method
- Prototype
- Singleton