DSL Project (2)

So to get started, create a DSL Designer project in Visual Studio (I’m using VS2008 but it should be almost the same in VS2005 although there have been some improvements). This creates a solution with 3 sub-projects (and why Microsoft keeps insisting on placing project folders under solution folders, I’ll never understand, as it makes it more confusing to re-use projects in other solutions). In the case of DSL designer, I’d highly suggest you leave it in the structure the VS guidance creates as there are heaps of dependencies on the structure and relative locations of things in that structure that is very easily broken and very difficult to correct afterwards (this is speaking from experience, I reverted to guidance structure). In any event it’s pretty much stand-alone and creates a VS add-in so its unlikely you would re-use any of these projects in other solutions.

 

The 3 projects the guidance creates for you are:

1. DSL Designer – The actual DSL project.

2. DSL Package – Setup

3. DSL Debugging  – VS hive for testing your DSL during development

 

I’ll follow up on this with details on creating a basic class diagram DSL in a future post.

 

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: