Create a gist now

Instantly share code, notes, and snippets.

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();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment