Skip to content

Instantly share code, notes, and snippets.

@kouphax
Created September 6, 2010 12:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kouphax/566951 to your computer and use it in GitHub Desktop.
Save kouphax/566951 to your computer and use it in GitHub Desktop.
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