Back to Coffeescript

repl.coffee

docs/v2/annotated-source/repl.html

2.7.0420 B
Original Source
fs =require'fs'path =require'path'vm =require'vm'nodeREPL =require'repl'CoffeeScript =require'./'{merge, updateSyntaxError} =require'./helpers'sawSIGINT =notranspile =noreplDefaults =
  prompt:'coffee\> ',
  historyFile:do->
    historyPath = process.env.XDG_CACHE_HOMEorprocess.env.HOME
    path.join historyPath,'.coffee\_history'ifhistoryPath
  historyMaxInputSize:10240eval:(input, context, filename, cb) -\>