Barebones line-reader in non-lexing C++ hybrid version, zcrewrite