import/export line parser less like Haskell, more like Ermine.