lib/coffee_script/narwhal/coffee-script.coffee in coffee-script-0.1.4 vs lib/coffee_script/narwhal/coffee-script.coffee in coffee-script-0.1.5

- old
+ new

@@ -1,32 +1,32 @@ # This (javascript) file is generated from lib/coffee_script/narwhal/coffee-script.coffee -# Executes the `coffee-script` Ruby program to convert from CoffeeScript +# Executes the `coffee` Ruby program to convert from CoffeeScript # to Javascript. Eventually this will hopefully happen entirely within JS. # Require external dependencies. OS: require('os') File: require('file') Readline: require('readline') # The path to the CoffeeScript Compiler. -coffeePath: File.path(module.path).dirname().dirname().dirname().dirname().dirname().join('bin', 'coffee-script') +coffeePath: File.path(module.path).dirname().dirname().dirname().dirname().dirname().join('bin', 'coffee') # Our general-purpose error handler. checkForErrors: coffeeProcess => return true if coffeeProcess.wait() is 0 system.stderr.print(coffeeProcess.stderr.read()) - throw new Error("coffee-script compile error"). + throw new Error("CoffeeScript compile error"). # Run a simple REPL, round-tripping to the CoffeeScript compiler for every # command. exports.run: args => args.shift() return require(File.absolute(args[0])) if args.length while true try - system.stdout.write('cs> ').flush() + system.stdout.write('coffee> ').flush() result: exports.evalCS(Readline.readline()) print(result) if result isnt undefined catch e print(e)...