 }
 
 var lines: [String]?
+var lineNumber = 0
 
 do {
     let args = CommandLine.arguments

    if let l = lines {
        if l.count > 0 {
            let line = lines?.removeFirst()
            return line
        }
        return nil

            log()
        }
    } else if !parsedLastCharacter {
        let remainder = remainder.text.trimmingCharacters(in: .whitespacesAndNewlines)
        if interactive {
            print("Syntax error: \(remainder)")
        } else {
            print("Syntax error on line \(lineNumber): \(remainder)")
        }
        if verbose {
            log()
            log(makeReport(result: ist))
