public
Created

  • Download Gist
CoffeeScriptError.cs
C#
1 2 3 4 5 6 7
var coffeescriptCompiler = new CoffeeScriptCompiler(new ScriptReader(), new TempScriptWriter());
string s = coffeescriptCompiler.EvaluateScript(@"# Objects:
math =
root: Math.sqrt, square: square
cube: (x) -> x * square x");
Console.WriteLine(s);
Console.ReadLine();

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.