lots o fixes
Some checks failed
Build / build (push) Successful in 9m50s
Publish Image / publish (push) Failing after 49s
Test / build (push) Successful in 10m55s

This commit is contained in:
2024-04-01 18:18:45 -04:00
parent fe33fda0ab
commit 862119e90e
44 changed files with 326 additions and 170 deletions

View File

@@ -31,12 +31,12 @@ func main() {
monkey.PrintVersionInfo(os.Stdout)
case flag.NArg() > 0:
monkey.ExecFileVM(flag.Arg(0), flag.Args()[1:], debug, trace)
monkey.ExecFile(flag.Arg(0), flag.Args()[1:], debug, trace)
case simple:
monkey.SimpleVmREPL(flag.Args(), debug, trace)
monkey.SimpleREPL(flag.Args(), debug, trace)
default:
monkey.VmREPL(flag.Args(), debug, trace)
monkey.REPL(flag.Args(), debug, trace)
}
}