fixes #224: process.argv value in executed files and in the REPL

also auto-registers the compiler when using the REPL