Implement proper error handling, add godoc comments, and implement expressions

This commit is contained in:
2021-03-01 13:43:10 -08:00
parent 43c226257b
commit 5fed3e3ce4
7 changed files with 279 additions and 88 deletions

View File

@@ -23,5 +23,8 @@ func main() {
if err != nil {
log.Fatalln("Error parsing file:", err)
}
ast.Execute()
}
err = ast.Execute()
if err != nil {
log.Fatalln("Error executing script:", err)
}
}