State of rust repls?

My current solution is to use the runner crate:

dev$ runner -e 'Path::new("hello").with_extension("txt")'
"hello.txt"

Edit: it understands 'snippets', i.e. without fn main boiler plate. Original inspiration was documentation snippets.