fs = require 'fs'
path = require 'path'
vm = require 'vm'
nodeREPL = require 'repl'
CoffeeScript = require './'
{merge, updateSyntaxError} = require './helpers'
sawSIGINT = no
transpile = no
replDefaults =
prompt: 'coffee> ',
historyFile: do ->
historyPath = process.env.XDG_CACHE_HOME or process.env.HOME
path.join historyPath, '.coffee_history' if historyPath
historyMaxInputSize: 10240
eval: (input, context, filename, cb) ->