dslvsxdsl-tools

Can I create a visual DSL that does not require Visual Studio?


I would like to create a visual DSL (boxes and arrows). I have found that I can create such a DSL using Microsoft's Visualization and modeling SDK (DSL Tools sequel, for VS2010) and there is also a lab on the subject. However, that would require Visual Studio 2010 to host my designer once I have created my DSL.

Is there any way to not require Visual Studio? With Windows Workflow Foundation (WF), it is possible to host a workflow designer in your own application, so it shouldn't be impossible.

Suggestions of other approaches are also welcome.


Solution

  • You cannot host a DSL design surface in a standard Windows Forms/WPF application.

    However, you can create your own application built on top of the Visual Studio Isolated Shell to host your DSL. The Storyboard Designer sample is an example of hosting a DSL in an isolated shell (although built on the VS 2008 Shell).