replit / prybar

Pry open those interpreters.
GNU General Public License v2.0
253 stars 52 forks source link

Fix up node.js repl (this is what's running in prod) #57

Closed amasad closed 4 years ago

amasad commented 4 years ago

Mostly porting internal repl.it implementation to prybar. The biggest changes is accepting prybar options.

The one other change is that we now inspect the return value from execution the main file. This should help distinguish it from a console.log

masad-frost commented 4 years ago

Can we use the fixed version from here https://github.com/replit/goval/pull/1419 It actually runs repl-it-web with no hiccups, this interp however fails

amasad commented 4 years ago

Can we use the fixed version from here replit/goval#1419

I'll do it in a subsequent PR. I want to make sure I add a test for it.