Made the interpreter pass most of the mycology test suite
This commit is contained in:
parent
198efceb1f
commit
da7e7dae2b
13 changed files with 206 additions and 35 deletions
|
@ -37,7 +37,8 @@ func main() {
|
|||
fmt.Printf("Failed to load file %s : %+v", *filename, err)
|
||||
os.Exit(3)
|
||||
}
|
||||
|
||||
v := interpreter.NewInterpreter(f, pointer.NewPointer()).Run()
|
||||
p := pointer.NewPointer()
|
||||
p.Argv = []string{*filename}
|
||||
v := interpreter.NewInterpreter(f, p).Run()
|
||||
os.Exit(v)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue