coli-saar / alto

Alto, the Algebraic Language Toolkit
Other
16 stars 2 forks source link

End TAG command-line interface gracefully at Ctrl-D #59

Closed alexanderkoller closed 4 years ago

alexanderkoller commented 4 years ago

When you press Ctrl-D in the CLI for Alto-Tulipac, the program should quit. Instead, the following exception is thrown:

parse> 
Exception in thread "main" org.jline.reader.EndOfFileException
    at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:592)
    at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:417)
    at de.up.ling.irtg.script.TulipacParser.main(TulipacParser.java:192)