ama: line-oriented input
ama: line-oriented input

Read each input line as a unit then parse it for terms.  Otherwise
putting multiple terms on a single line gives unexpected results.

This also makes it possible to use ctrl-D to end a REPL session.

amalog/go