How can I compile CoffeeScript from .NET?

后端 未结 18 1996
后悔当初
后悔当初 2020-12-23 01:54

I want to write an HttpHandler that compiles CoffeeScript code on-the-fly and sends the resulting JavaScript code. I have tried MS [JScript][1] and IronJS without success. I

18条回答
  •  误落风尘
    2020-12-23 02:25

    IronJS now supports CoffeeScript and is generally faster than the other .NET JS engines:

    I have a blog post about wiring the two together here:
    http://otac0n.com/blog/2011/06/29/CoffeeDemo-A-Simple-Demo-Of-IronJS-Using-CoffeeScript.aspx

提交回复
热议问题