_require.paths = _module.paths = Module._nodeModulePaths process.cwd()
_require.resolve = (request) -> Module._resolveFilename request, _module
o = {}
o[k] = v for own k, v of options
o.bare = on
js = compile code, o
if sandbox is global
vm.runInThisContext js
else
vm.runInContext js, sandbox
compileFile = (filename, sourceMap) ->
raw = fs.readFileSync filename, 'utf8'
stripped = if raw.charCodeAt(0) is 0xFEFF then raw.substring 1 else raw
try
answer = compile(stripped, {filename, sourceMap, literate: helpers.isLiterate filename})
catch err