primitive line parser (before using things like sexp)