A mixin for creating application REPLs with Readline support