It seems to me that the core concept here is the declarative nature of the framework, and the logic that ties things together that comes from the compiler.  On one side, it <i>has</i> to spit out Javascript, so perhaps it would have made sense just to do the whole thing as a hack/extension/whatever to Javascript?<p>I guess without actually seeing the code behind it, it's difficult to really say with certainty.