Maybe you'll find stratified js -- http://stratifiedjs.org/ -- interesting. I haven't tried it myself, but it seems to fit the bill. As a side note: IMHO C#'s use of only 2 keywords and method combinators is cleaner than stratified js' approach.
No comments yet.