repl: enabled back and added automated tests

fixed typos and macos errors
This commit is contained in:
Henrixounez 2019-08-10 00:20:36 +02:00 committed by Alexander Medvednikov
parent fdb1433c24
commit 7879bde8bb
13 changed files with 121 additions and 2 deletions

View file

@ -1292,8 +1292,6 @@ fn new_v(args[]string) *V {
}
fn run_repl() []string {
println('REPL is temporarily disabled, sorry')
exit(1)
println('V $Version')
println('Use Ctrl-C or `exit` to exit')
file := '.vrepl.v'