Durante uno dei miei soliti giri in rete alla ricerca di novità, mi sono imbattutto su Script#:
The Script# compiler is a C# compiler that generates JavaScript as its output instead of IL. A key goal of the compiler to produce readable JavaScript (as if you had authored it by hand), and would be comfortable deploying into real apps. Hence the translation works from C# source directly into JavaScript without an intermediate IL layer. The compiler can also produce equivalent, but much more compact script for use in release mode deployment. The compiler does not introduce any additional levels of abstraction, thereby allowing you full control of what your application does. In essense the best of script with the best of C#!
Sul sito del progetto, http://projects.nikhilk.net/Projects/ScriptSharp.aspx, è disponibile anche un documento PDF che spiega come usare questo framework. L'idea sembra interessante...