Inspired by Units of Measure in F#, and despite asserting (here) that you couldn\'t do it in C#, I had an idea the other day which I\'ve been playing around with.
See Boo Ometa (which will be available for Boo 1.0): Boo Ometa and Extensible Parsing