SixPairs

September 21, 2010

A ToDo Language for DGML

Filed under: DGML — Ceyhun Ciper @ 00:24

 

I developed a small DSL (a ToDo language) in order to quickly create todo lists in DGML because I find that the DGML viewer control in VS is much better than TreeView. I hope Microsoft will make it as ubiquitous as the latter; it is already there; it is only a question of packaging.

Example (To Do items are tab-indented):

Grocery List
    Bread
    Beer
    Kids
        Milk
        Pampers
Projects
    To Do List in DGML
    MSBuild Generation
        T4 Templates
            Stand-Alone Host
        ‘.Targets’ Libraries
            File System
            ‘Group By’ tasks
    Documentation
        User’s Guides
        Design Guides

Which gives:

image

By default, I generate groups for task containment, but you can view any group as links:

image

Or all of them as links:

image

Maybe bottom-up is preferable:

image

Or left-to-right:

image

ToDo items don’t have to be unique:

Grocery List
    Bread
    Beer
    Kids
        Milk
        Pampers
Projects
    To Do List in DGML
    MSBuild Generation
        T4 Templates
            Stand-Alone Host
        ‘.Targets’ Libraries
            File System
            ‘Group By’ tasks
            Documentation
                User’s Guides
                Design Guides
    Documentation
        User’s Guides
        Design Guides

image

image

Here is a Visual Studio screenshot (click to enlarge):

VSScreenShot-01-Small

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.