             log()
             log("\(remainder)")
             log()
+            if !interactive {
+                exit(1)
+            }
         }
     } else if !parsedLastCharacter {
         let remainder = remainder.text.trimmingCharacters(in: .whitespacesAndNewlines)

        continue
    }

    lineNoise.addHistory(thisLine)

    if thisLine.trimmingCharacters(in: .whitespaces).hasPrefix("#") {
        continue

                    dump(ast)
                    log()
                }
                if !interactive {
                    exit(1)
                }
            } catch {
                print("Fatal error: \(error)")
                exit(1)
