janky half-broken sketch of repl server