Fix ethereum compilation and functioning on Windows.

repl console output is now colored.
repl "exit" command now works.
This commit is contained in:
Erez Wanderman
2014-10-15 02:41:26 +03:00
parent 294b437414
commit 7227552f42
4 changed files with 141 additions and 5 deletions

View File

@ -44,9 +44,11 @@ function pp(object) {
function prettyPrint(/* */) {
var args = arguments;
var ret = "";
for(var i = 0, l = args.length; i < l; i++) {
console.log(pp(args[i]))
ret += pp(args[i]) + "\n";
}
return ret;
}
var print = prettyPrint;